import type { ExtensionContext, ExtensionFactory } from "../../types.ts";
import type { Goal } from "../goal/types.ts";
export declare const HANDOFF_HINT_ENTRY_TYPE = "handoff-hint";
export declare const HANDOFF_BRIEF_MESSAGE_TYPE = "handoff-brief";
export declare const HANDOFF_HINT_EVENT = "handoff_hint";
export declare const HANDOFF_HINT_WIDGET_KEY = "handoff-hint";
export declare const HANDOFF_COMMAND = "handoff";
export declare const START_FRESH_LABEL = "Start fresh with a handoff";
export declare const KEEP_GOING_LABEL = "Keep going";
export declare const DEFAULT_HANDOFF_HINT_SETTINGS: {
    enabled: boolean;
    minContextTokens: number;
    minSavingUsd: number;
};
export type HandoffHintAction = "shown" | "accepted" | "dismissed";
export interface HandoffHintEvent {
    readonly action: HandoffHintAction;
    readonly sessionId: string;
    readonly provider: string;
    readonly model: string;
    readonly contextTokens: number;
    readonly nextReplyUsd: number;
    readonly freshUsd: number;
    readonly savingUsd: number;
    readonly subscription: boolean;
}
type ActiveGoalReader = (ctx: ExtensionContext) => Promise<Goal | null>;
export declare function createHandoffHintExtension(dependencies?: {
    readonly now?: () => number;
    readonly readGoal?: ActiveGoalReader;
}): ExtensionFactory;
declare const _default: ExtensionFactory;
export default _default;
//# sourceMappingURL=index.d.ts.map