import type { ChatStatus, MascotAnimationType, MascotState, MascotView } from "../types/index.js"; declare const DEFAULT_ONCE_DURATIONS: { readonly reveal: 480; readonly done: 600; readonly error: 820; readonly stopped: 320; }; type OnceState = keyof typeof DEFAULT_ONCE_DURATIONS; export interface UseMascotStateOptions { view: MascotView; status?: ChatStatus; isTyping?: boolean; stateOverride?: MascotState; sleepDelayMs?: number | null; onceDurations?: Partial>; stopSignal?: unknown; activitySignal?: unknown; } export declare function getMascotAnimationType(state: MascotState): MascotAnimationType; /** Derives the effective mascot state from chat lifecycle edges and activity. */ export declare function useMascotState(options: UseMascotStateOptions): MascotState; export {};