<commit_before>// Type definitions for headroom.js v0.7.0
// Project: http://wicky.nillia.ms/headroom.js/
// Definitions by: <NAME> <https://github.com/hakubo/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

interface HeadroomOptions {
	offset?: number;
	tolerance?: any;
	classes?: {
		initial?: string;
		pinned?: string;
		unpinned?: string;
		top?: string;
		notTop?: string;
	};
	scroller?: Element;
	onPin?: () => void;
	onUnPin?: () => void;
	onTop?: () => void;
	onNotTop?: () => void;

}

declare class Headroom {
	constructor(element: Node, options?: HeadroomOptions);
	constructor(element: Element, options?: HeadroomOptions);
	init: () => void;
}<commit_msg>Fixed casing in onUnpin and added missing<commit_after>// Type definitions for headroom.js v0.7.0
// Project: http://wicky.nillia.ms/headroom.js/
// Definitions by: <NAME> <https://github.com/hakubo/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

interface HeadroomOptions {
	offset?: number;
	tolerance?: any;
	classes?: {
		initial?: string;
		pinned?: string;
		unpinned?: string;
		top?: string;
		notTop?: string;
	};
	scroller?: Element;
	onPin?: () => void;
	onUnpin?: () => void;
	onTop?: () => void;
	onNotTop?: () => void;
	onNotBottom?:()=>void;
	onBottom?:()=>void;
}

declare class Headroom {
	constructor(element: Node, options?: HeadroomOptions);
	constructor(element: Element, options?: HeadroomOptions);
	init: () => void;
}
{'fraction_non_alphanumeric': 0.17744154057771663, 'fraction_numerical': 0.0041265474552957355, 'mean_word_length': 4.596153846153846, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 19, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5067833', 'n_tokens_mistral': 514, 'n_tokens_neox': 501, 'n_words': 116}