export interface CommentCountProps { 'page-id': string | number; 'website-id'?: number; mode?: 'text' | 'number'; language?: string; loading?: 'manual'; instance?: string; } export type CommentCountCustomElement = HTMLElement; export declare class CommentCounts { static script(instance?: string): void; static commentCount(props: CommentCountProps, wrap: HTMLElement): HTMLElement; static load(options?: { "website-id"?: number; mode?: T; language?: string; }, callback?: ((count: T extends 'number' ? number : (T extends 'text' ? string : number | string), el: Element) => string | number) | null): void; }