export function types(witPath: any, opts: any): Promise<void>;
/**
 * @param {string} witPath
 * @param {{
 *   name?: string,
 *   worldName?: string,
 *   instantiation?: 'async' | 'sync',
 *   tlaCompat?: bool,
 *   outDir?: string,
 * }} opts
 * @returns {Promise<{ [filename: string]: Uint8Array }>}
 */
export function typesComponent(witPath: string, opts: {
    name?: string;
    worldName?: string;
    instantiation?: "async" | "sync";
    tlaCompat?: bool;
    outDir?: string;
}): Promise<{
    [filename: string]: Uint8Array;
}>;
export function transpile(componentPath: any, opts: any, program: any): Promise<void>;
/**
 *
 * @param {Uint8Array} component
 * @param {{
 *   name: string,
 *   instantiation?: 'async' | 'sync',
 *   importBindings?: 'js' | 'optimized' | 'hybrid' | 'direct-optimized',
 *   map?: Record<string, string>,
 *   validLiftingOptimization?: bool,
 *   tracing?: bool,
 *   nodejsCompat?: bool,
 *   tlaCompat?: bool,
 *   base64Cutoff?: bool,
 *   js?: bool,
 *   minify?: bool,
 *   optimize?: bool,
 *   namespacedExports?: bool,
 *   outDir?: string,
 *   multiMemory?: bool,
 *   experimentalIdlImports?: bool,
 *   optArgs?: string[],
 * }} opts
 * @returns {Promise<{ files: { [filename: string]: Uint8Array }, imports: string[], exports: [string, 'function' | 'instance'][] }>}
 */
export function transpileComponent(component: Uint8Array, opts?: {
    name: string;
    instantiation?: "async" | "sync";
    importBindings?: "js" | "optimized" | "hybrid" | "direct-optimized";
    map?: Record<string, string>;
    validLiftingOptimization?: bool;
    tracing?: bool;
    nodejsCompat?: bool;
    tlaCompat?: bool;
    base64Cutoff?: bool;
    js?: bool;
    minify?: bool;
    optimize?: bool;
    namespacedExports?: bool;
    outDir?: string;
    multiMemory?: bool;
    experimentalIdlImports?: bool;
    optArgs?: string[];
}): Promise<{
    files: {
        [filename: string]: Uint8Array;
    };
    imports: string[];
    exports: [string, "function" | "instance"][];
}>;
//# sourceMappingURL=transpile.d.ts.map