import type { SemanticNode, ASTNode } from '@lokascript/semantic';
export interface BridgeConfig {
    confidenceThreshold?: number;
    fallbackOnLowConfidence?: boolean;
}
export interface BridgeResult {
    output: string;
    usedSemantic: boolean;
    confidence: number;
    sourceLang: string;
    targetLang: string;
}
export interface ParseToASTResult {
    ast: ASTNode | null;
    usedDirectPath: boolean;
    confidence: number;
    lang: string;
    fallbackText: string | null;
    warnings?: string[];
}
export declare class SemanticGrammarBridge {
    private analyzer;
    private config;
    constructor(config?: BridgeConfig);
    initialize(): Promise<void>;
    isInitialized(): boolean;
    transform(input: string, sourceLang: string, targetLang: string): Promise<BridgeResult>;
    parse(input: string, lang: string): Promise<SemanticNode | null>;
    render(node: SemanticNode, targetLang: string): Promise<string>;
    parseToAST(input: string, lang: string): Promise<ASTNode | null>;
    parseToASTWithDetails(input: string, lang: string): Promise<ParseToASTResult>;
    getAllTranslations(input: string, sourceLang: string): Promise<Record<string, BridgeResult>>;
}
export declare function getDefaultBridge(): Promise<SemanticGrammarBridge>;
export declare function translate(input: string, sourceLang: string, targetLang: string): Promise<string>;
//# sourceMappingURL=bridge.d.ts.map