/** * Reusable HTML Components * * Each function corresponds to an AgentShield preview component: * - renderLogo() -> PreviewAgentInfo logo * - renderHeader() -> PreviewHeader * - renderButton() -> PreviewButton * - renderCheckbox() -> PreviewCheckbox * - renderExpirationNotice() -> ExpirationNotice * * @module @kya-os/consent/templates/base/components */ /** * Render a default agent icon SVG. * Used when no logo is provided. */ export declare function renderDefaultAgentIcon(): string; /** * Render a logo image or default icon. * * @param logoUrl - URL to logo image * @param alt - Alt text for accessibility * @returns HTML string */ export declare function renderLogo(logoUrl?: string, alt?: string): string; /** * Render agent info section with logo and description. * * @param description - Agent description text * @param logoUrl - Optional logo URL * @returns HTML string */ export declare function renderAgentInfo(description: string, logoUrl?: string): string; /** * Render page header with optional logo and company name. * * @param title - Page title * @param subtitle - Optional subtitle * @param logoUrl - Optional logo URL for header * @param companyName - Optional company name * @returns HTML string */ export declare function renderHeader(title: string, subtitle?: string, logoUrl?: string, companyName?: string): string; /** * Render a button element. * * @param text - Button text * @param variant - 'primary' | 'secondary' * @param type - 'submit' | 'button' * @param attributes - Additional HTML attributes * @returns HTML string */ export declare function renderButton(text: string, variant: "primary" | "secondary", type?: "submit" | "button", attributes?: Record): string; /** * Render button group with cancel and submit buttons. * * @param cancelText - Cancel button text * @param submitText - Submit button text * @returns HTML string */ export declare function renderButtonGroup(cancelText: string, submitText: string): string; /** * Render a full-width primary button. * * @param text - Button text * @param type - 'submit' | 'button' * @returns HTML string */ export declare function renderFullWidthButton(text: string, type?: "submit" | "button"): string; /** * Render a checkbox input. * * @param name - Input name * @param label - Label text (can include HTML like links) * @param required - Whether field is required * @param checked - Whether initially checked * @param disabled - Whether disabled * @returns HTML string */ export declare function renderCheckbox(name: string, label: string, required?: boolean, checked?: boolean, disabled?: boolean): string; /** * Render an input field with label. * * @param type - Input type * @param name - Input name * @param label - Label text * @param placeholder - Placeholder text * @param required - Whether required * @param autocomplete - Autocomplete value * @returns HTML string */ export declare function renderInput(type: "text" | "password" | "email" | "tel", name: string, label: string, placeholder?: string, required?: boolean, autocomplete?: string): string; /** * Render expiration notice. * * @param text - Notice text * @param days - Number of days (optional) * @returns HTML string */ export declare function renderExpirationNotice(text: string, days?: number): string; /** * Render an error container (initially hidden). * * @param id - Container ID for JavaScript access * @returns HTML string */ export declare function renderErrorContainer(id?: string): string; /** * Render a checkmark icon. */ export declare function renderCheckIcon(): string; /** * Render a clock icon. */ export declare function renderClockIcon(): string; /** * Render a success checkmark icon (large, green). */ export declare function renderSuccessIcon(): string; //# sourceMappingURL=components.d.ts.map