import { createContext } from '../core/context';
import type { KeywordResolver } from '../parser/types';
import { createKeywordProvider, GrammarTransformer, translate, getProfile, getSupportedLocales } from '@lokascript/i18n/browser';
declare const api: {
    runtime: {
        parse: (code: string) => import("../parser/parser").ParseResult;
        execute: (code: string, context?: any) => Promise<unknown>;
    };
    parse: (code: string) => import("../parser/parser").ParseResult;
    compile: (code: string) => {
        success: boolean;
        ast: import("..").ASTNode | undefined;
        errors: import("..").ParseError[];
        tokens: import("..").Token[];
        compilationTime: number;
    };
    execute: (codeOrAst: string | any, context?: any) => Promise<unknown>;
    run: (code: string, context?: any) => Promise<unknown>;
    evaluate: (code: string, context?: any) => Promise<unknown>;
    processNode: (element: Element | Document) => void;
    process: (element: Element | Document) => void;
    createContext: typeof createContext;
    attributeProcessor: import("../dom/minimal-attribute-processor").MinimalAttributeProcessor;
    version: string;
    i18n: {
        getLocale(): string;
        setLocale(locale: string): void;
        getAvailableLocales(): string[];
        detectAndSetLocale(): string;
        registerLocale(locale: string, provider: KeywordResolver): void;
        toLocale(code: string, targetLocale?: string): string;
        toEnglish(code: string, sourceLocale?: string): string;
        translate: typeof translate;
        createTransformer(sourceLocale: string, targetLocale: string): GrammarTransformer;
        getProfile: typeof getProfile;
        getSupportedGrammarLocales: typeof getSupportedLocales;
        profiles: Record<string, any>;
        dictionaries: {
            en: {};
            es: any;
            ja: any;
            fr: any;
            de: any;
            ar: any;
            ko: any;
            zh: any;
            tr: any;
            id: any;
            pt: any;
            qu: any;
            sw: any;
        };
        createKeywordProvider: typeof createKeywordProvider;
    };
    commands: string[];
    locales: string[];
    eval: (code: string, context?: any) => Promise<unknown>;
    init: (options?: {
        autoDetectLocale?: boolean;
    }) => void;
};
export default api;
//# sourceMappingURL=browser-bundle-classic-i18n.d.ts.map