//#region src/types.d.ts interface RefportTrackingOptions { cookieName?: string; paramName?: string; maxAge?: number; path?: string; domain?: string; sameSite?: "Strict" | "Lax" | "None"; secure?: boolean; cleanUrl?: boolean; } interface RefportTrackingResult { tracked: boolean; clickId: string | null; source: "url" | "cookie" | null; } interface RefportEmbedOptions { token: string; theme?: "light" | "dark" | "system"; cssVars?: Record; baseUrl?: string; onError?: (error: { code: string; message: string; }) => void; } interface RefportEmbedInstance { container: HTMLDivElement; iframe: HTMLIFrameElement; destroy: () => void; } //#endregion //#region src/embed.d.ts declare function createEmbed(target: HTMLElement, options: RefportEmbedOptions): RefportEmbedInstance; //#endregion //#region src/index.d.ts declare function init(options?: RefportTrackingOptions): RefportTrackingResult; declare function getClickId(cookieName?: string): string | null; declare function reset(options?: Pick): void; //#endregion export { RefportEmbedInstance as a, RefportTrackingResult as c, createEmbed as i, init as n, RefportEmbedOptions as o, reset as r, RefportTrackingOptions as s, getClickId as t }; //# sourceMappingURL=index.d.cts.map