export declare function stripAnsi(value: string): string;
export interface ContinuePromptGuardOptions {
    maxAutoEnters?: number;
    cooldownMs?: number;
    now?: () => number;
}
export declare class KimiContinuePromptGuard {
    private readonly maxAutoEnters;
    private readonly cooldownMs;
    private readonly now;
    private tail;
    private autoEnterCount;
    private lastEnterAt;
    constructor(options?: ContinuePromptGuardOptions);
    process(chunk: string): {
        sendEnter: boolean;
        reason?: string;
        exceeded?: boolean;
    };
}
