import type { PluginOptions } from "../types.js";
export type DetectedLanguage = {
    language: string;
    code: string;
    ambiguous: boolean;
};
export type PreviousUserMessage = {
    text: string;
};
export declare function detectUserLanguage(completionAdapter: PluginOptions["modes"][number]["completionAdapter"], prompt: string, previousUserMessages?: PreviousUserMessage[]): Promise<DetectedLanguage | null>;
