import { VarDeclarationProps } from "@alloy-js/typescript"; //#region src/typescript/components/dynamic-import-statement.d.ts interface DynamicImportStatementProps extends Omit { /** * The path of the module to import. */ importPath: string; /** * The name of the export to import from the module. * * @defaultValue "default" */ exportName?: string; } /** * Generates a dynamic import statement for a given module path and export name. * * @example * ```tsx * * // const myVar = await import("./my-module").then(m => m.myExport); * ``` * * @param props - The properties for the dynamic import statement. * @returns A `VarDeclaration` component representing the dynamic import statement. */ declare function DynamicImportStatement(props: DynamicImportStatementProps): import("@alloy-js/core").Children; //#endregion export { DynamicImportStatementProps as n, DynamicImportStatement as t }; //# sourceMappingURL=dynamic-import-statement--GIybIf5.d.cts.map