import { Children } from "@alloy-js/core"; //#region src/core/helpers/code.d.ts /** * Turn the provided string template into Children by replacing literal line * breaks with hardlines and automatically indenting indented content. Similar * in spirit to the `` element in HTML. * * @see {@link text} for a similar function which treats whitespace similar to * JSX template bodies. * * @example * ```ts * code` * function greet(name: string) { * console.log("Hello, " + name + "!"); * } * ` * ``` * * @param template - The template string to be processed into Children. * @param substitutions - Any interpolated values within the template, which will be treated as Children and properly indented. * @returns A Children representation of the provided template string, with proper handling of line breaks and indentation. * @throws Will throw an error if the provided template contains only whitespace, as this is likely a mistake and would cause a less recognizable "Cannot read properties of undefined" exception later in the processing. */ declare function code$1(template: TemplateStringsArray, ...substitutions: Children[]): Children; //#endregion export { code$1 as t }; //# sourceMappingURL=code-tudxNOH1.d.mts.map