import { a as SourceFileHeaderProps, t as ComponentProps } from "./components-U6HOf5GS.mjs"; import { n as SourceFileProps$1 } from "./source-file-DEGtBMgH.mjs"; import { Children } from "@alloy-js/core"; //#region src/yaml/components/yaml-file.d.ts interface YamlData { [key: string]: string | number | boolean | YamlData | YamlData[]; } type YamlFileProps = Omit & ComponentProps & { header?: Children; data?: YamlData; }; /** * A base component representing a Powerlines generated YAML source file. * * @remarks * The file content can be provided either through the `data` prop, which accepts a nested object representing the YAML structure, or through the `children` prop, which allows for custom YAML content to be rendered. The `header` prop can be used to provide custom header content for the YAML file, which is rendered above the generated file header warning and generation comment. * * @param props - The properties for the source file. * @returns The rendered source file component. */ declare function YamlFile(props: YamlFileProps): Children; /** * Renders the header for a Powerlines YAML source file. * * @param props - The properties for the source file header. * @returns The rendered source file header. */ declare function YamlFileHeader(props: SourceFileHeaderProps): Children; //#endregion export { YamlFileProps as i, YamlFile as n, YamlFileHeader as r, YamlData as t }; //# sourceMappingURL=yaml-file-BeaFcAul.d.mts.map