/**
 * Frontend utilities for Adapt plugins running in browser/iframe contexts
 *
 * Iframe resizing is handled automatically - no initialization required.
 * Just import the functions you need and the resize communication starts automatically.
 */
/**
 * Get the authentication token from the URL hash.
 * @param isDevelopment If true, returns a dev token for local development
 */
export declare function getToken(isDevelopment?: boolean): string;
/**
 * Get the current dark mode state.
 * Returns null if dark mode state hasn't been received from parent yet.
 */
export declare function getDarkMode(): boolean | null;
/**
 * Listen for dark mode changes from the parent window.
 * Returns an unsubscribe function.
 * @param callback Called immediately with current state (if known) and on every change
 */
export declare function listenDarkMode(callback: (darkMode: boolean) => void): () => void;
//# sourceMappingURL=index.d.ts.map