isa-auth-core
Version:
4 lines (3 loc) • 339 B
TypeScript
export declare function addAuthEventListener<T extends HTMLElement>(root: T, callback: (state: boolean) => void): void;
export declare function removeAuthEventListener<T extends HTMLElement>(root: T, callback: (state: boolean) => void): void;
export declare function dispatchAuthEvent<T extends HTMLElement>(root: T, auth: boolean): void;