import type { ChatSemantics } from '../types/chat-envelope.js';
import type { StandardizedRequest } from '../types/standardized.js';
export type WebSearchIntent = {
    hasIntent: boolean;
    googlePreferred: boolean;
};
export type WebSearchSemanticsHint = {
    force?: boolean;
    disable?: boolean;
};
export declare function extractWebSearchSemantics(semantics: ChatSemantics | undefined): WebSearchSemanticsHint | undefined;
export declare function detectWebSearchIntent(request: StandardizedRequest): WebSearchIntent;
