export interface BarrelFileProps { /** * The name of the source file */ path?: string; /** * Whether the source file is exported out of the package. When true, this * source file with its source file relative to the project root. Otherwise, * it will be exported with the specified path. */ export?: boolean | string; } /** * Creates a source file which re-exports the exports in other files and nested * barrel files in the source directory its placed in. * * @remarks * * This component must be placed directly inside a {@link @alloy-js/core#SourceDirectory} * component. It will only discover nested barrel files directly within nested * source directories. * * @example * * Creating a barrel file which exports the two other source files in the same directory * * ```tsx * * * * * * * * ``` * * The barrel file will contain the following contents: * * ```ts * export * from "./one.js"; * export * from "./two.js"; * ``` * * * @see {@link @alloy-js/core#SourceDirectory} * @see {@link SourceFile} */ export declare function BarrelFile(props: BarrelFileProps): import("@alloy-js/core").Children; //# sourceMappingURL=BarrelFile.d.ts.map