export type NativeChatWebSearchPlan = {
    shouldInject: boolean;
    selectedEngineIndexes: number[];
};
export type NativeChatClockPlan = {
    shouldInject: boolean;
};
export type NativeContinueExecutionPlan = {
    shouldInject: boolean;
};
export type NativeContinueDirectiveInjection = {
    changed: boolean;
    messages: unknown[];
};
export type NativeChatServerToolBundlePlan = {
    webSearch: NativeChatWebSearchPlan;
    clock: NativeChatClockPlan;
    continueExecution: NativeContinueExecutionPlan;
};
export declare function detectProviderResponseShapeWithNative(payload: unknown): 'openai-chat' | 'openai-responses' | 'anthropic-messages' | 'gemini-chat' | 'unknown';
export declare function isStopMessageStateActiveWithNative(raw: unknown): boolean;
export declare function resolveStopMessageSessionScopeWithNative(metadata: Record<string, unknown>): string | undefined;
export declare function resolveHasActiveStopMessageForContinueExecutionWithNative(runtimeState: unknown, persistedState: unknown): boolean;
export declare function buildReviewOperationsWithNative(metadata: Record<string, unknown>): Record<string, unknown>[];
export declare function buildContinueExecutionOperationsWithNative(shouldInject: boolean): Record<string, unknown>[];
export declare function planChatWebSearchOperationsWithNative(request: unknown, runtimeMetadata: Record<string, unknown>): NativeChatWebSearchPlan;
export declare function planChatClockOperationsWithNative(runtimeMetadata: Record<string, unknown>): NativeChatClockPlan;
export declare function planContinueExecutionOperationsWithNative(runtimeMetadata: Record<string, unknown>, hasActiveStopMessage: boolean): NativeContinueExecutionPlan;
export declare function tryPlanChatServerToolBundleWithNative(request: unknown, runtimeMetadata: Record<string, unknown>, hasActiveStopMessage: boolean): NativeChatServerToolBundlePlan | null;
export declare function injectContinueExecutionDirectiveWithNative(messages: unknown[], marker: string, targetText: string): NativeContinueDirectiveInjection;
