import type { DefineComponent } from "vue"; type CodeBlockProps = { /** A bare attribute selects shared depth. Omitting the attribute turns coloring off. */ "bracket-pair-coloring"?: "" | "shared" | "independent"; /** Adds styling to show the line numbers of the codeblock. */ "line-numbers"?: boolean | undefined; /** Determines the container styles of component. Flat enables nesting within other containers. */ container?: "flat" | "inline" | undefined; /** Programming language for syntax highlighting. The deprecated values `bash`, `shell`, and `toml` render as plain text. Use `text` instead. */ language?: | "css" | "go" | "html" | "javascript" | "json" | "markdown" | "python" | "text" | "tsx" | "typescript" | "xml" | "yaml" | "bash" | "shell" | "toml"; /** Text code to be process into a codeblock. */ code?: string | undefined; /** Adds styling to show the line numbers of the codeblock. */ lineNumbers?: boolean | undefined; /** Colors bracket pairs by shared or per-type depth. Set to null to disable coloring. */ bracketPairColoring?: "shared" | "independent" | null; /** Adds styling to highlight the provided code lines. Use comma-separated line numbers such as `1,5,7`. For range of lines, use hyphen seperated values, ex: (1-5). You can combine both such as: ex: (1,5,10-15,20). */ highlight?: string | undefined; }; type CodeBlockAliasProps = { /** A bare attribute selects shared depth. Omitting the attribute turns coloring off. */ "bracket-pair-coloring"?: "" | "shared" | "independent"; /** Adds styling to show the line numbers of the codeblock. */ "line-numbers"?: boolean | undefined; /** Determines the container styles of component. Flat enables nesting within other containers. */ container?: "flat" | "inline" | undefined; /** Programming language for syntax highlighting. The deprecated values `bash`, `shell`, and `toml` render as plain text. Use `text` instead. */ language?: | "css" | "go" | "html" | "javascript" | "json" | "markdown" | "python" | "text" | "tsx" | "typescript" | "xml" | "yaml" | "bash" | "shell" | "toml"; /** Text code to be process into a codeblock. */ code?: string | undefined; /** Adds styling to show the line numbers of the codeblock. */ lineNumbers?: boolean | undefined; /** Colors bracket pairs by shared or per-type depth. Set to null to disable coloring. */ bracketPairColoring?: "shared" | "independent" | null; /** Adds styling to highlight the provided code lines. Use comma-separated line numbers such as `1,5,7`. For range of lines, use hyphen seperated values, ex: (1-5). You can combine both such as: ex: (1,5,10-15,20). */ highlight?: string | undefined; }; type CodeBlockFooterProps = {}; type CodeBlockHeaderProps = {}; type CodeTextareaProps = { /** A bare attribute selects shared depth. Omitting the attribute turns coloring off. */ "bracket-pair-coloring"?: "" | "shared" | "independent"; /** Programming language of the native textarea's value. */ language?: | "css" | "go" | "html" | "javascript" | "json" | "markdown" | "python" | "text" | "tsx" | "typescript" | "xml" | "yaml"; /** Colors bracket pairs by shared or per-type depth. Set to null to disable coloring. */ bracketPairColoring?: "shared" | "independent" | null; }; export type CustomElements = { /** * A container for source code with optional header and footer companions that remain visible while code scrolls. * --- * * * ### **Slots:** * - _default_ - source code as text, a `