export type TypingController = {
    start: () => void;
    /** Clears the renew timer and awaits `onStop` (e.g. typing_off) before returning. */
    stop: () => Promise<void>;
};
export declare function createTypingController(params: {
    onStart: () => Promise<void>;
    onStop: () => Promise<void>;
    intervalSeconds?: number;
}): TypingController;
