/** `ore-code-window` variant */
export type CodeWindowVariant = 'code' | 'chat';
/** `ore-code-window` component properties */
export type OreCodeWindowProps = {
/** Filename label shown after the language badge (`variant="code"` only) */
filename?: string;
/** Language badge text, e.g. `"ts"`, `"sh"` (`variant="code"` only) */
lang?: string;
/** Title string shown beside the traffic-light dots (`variant="chat"` only) */
title?: string;
/**
* `"code"` (default) — header shows a language badge + filename.
* `"chat"` — header shows traffic-light dots + a title.
*/
variant?: CodeWindowVariant;
};
/**
* A styled window chrome for code blocks and AI/MCP conversation flows.
*
* Two variants:
* - `variant="code"` (default) — language badge + optional filename header.
* - `variant="chat"` — traffic-light dots + title header.
*
* @element ore-code-window
*
* @attr {'code'|'chat'} variant - Window style variant
* @attr {string} lang - Language badge label (variant="code" only)
* @attr {string} filename - Filename shown next to the badge (variant="code" only)
* @attr {string} title - Label beside the dots (variant="chat" only)
*
* @slot - Main body content (code, conversation turns, or any markup)
* @slot header-end - Optional content appended to the trailing edge of the header
*
* @cssprop --code-window-bg - Window background color
* @cssprop --code-window-header-bg - Header background color
* @cssprop --code-window-border-color - Border color
* @cssprop --code-window-radius - Border radius
* @cssprop --code-window-shadow - Box shadow
* @cssprop --code-window-body-padding - Body slot padding
*
* @part window - The root window element
* @part header - The header bar
* @part lang - The language badge (`variant="code"`)
* @part filename - The filename label (`variant="code"`)
* @part dots - The traffic-light dot container (`variant="chat"`)
* @part title - The title label (`variant="chat"`)
* @part body - The body container wrapping the default slot
*
* @example
* ```html
*
* const x = 1;
*
*
*
*
*
* ```
*/
export declare const CODE_WINDOW_TAG: "ore-code-window";
//# sourceMappingURL=code-window.d.ts.map