import { File } from "./file.js"; /** * Creates a TypeScript file with formatted content using prettier * * @example * // Create a TypeScript file * const component = await StaticTypeScriptFile("Component.ts", ` * interface Props { * name: string; * age: number; * } * * export function Component({ name, age }: Props) { * return
Hello {name}, you are {age} years old
; * } * `); */ export type StaticTypeScriptFile = File; export declare function StaticTypeScriptFile(id: string, ...args: [content: string] | [path: string, content: string]): Promise; //# sourceMappingURL=static-typescript-file.d.ts.map