import { Children } from "@alloy-js/core"; import { GeneratedDocument } from "@power-plant/core"; //#region src/core/types/components.d.ts type OutputFile = Omit & { kind: "file"; }; interface OutputDirectory { kind: "directory"; path: string; content: (OutputDirectory | OutputFile)[]; } /** * A type that represents the props of a component that can have children. */ interface ComponentProps { children?: Children; } /** * A type that requires the `children` prop in a component. */ type ComponentPropsWithChildren = Omit & Required>; interface SourceFileHeaderProps extends ComponentProps { /** * If true, disables the ESLint directive at the top of the file. * * @see https://eslint.org/docs * * @defaultValue true */ disableEslint?: boolean; /** * If true, disables the Biome directive at the top of the file. * * @see https://biomejs.dev/guides/getting-started/ * * @defaultValue true */ disableBiome?: boolean; /** * If true, disables the Oxlint directive at the top of the file. * * @see https://oxc.rs/docs/guide/usage/linter * * @defaultValue true */ disableOxlint?: boolean; /** * If true, disables the Prettier directive at the top of the file. * * @defaultValue false */ disablePrettier?: boolean; } //#endregion export { SourceFileHeaderProps as a, OutputFile as i, ComponentPropsWithChildren as n, OutputDirectory as r, ComponentProps as t }; //# sourceMappingURL=components-U6HOf5GS.d.mts.map