/** * Browser-safe brand contract, defaults, and LLM serialization helpers. * * Asset values are intentionally strings: they may be relative file paths, * package exports, data URLs, or network URLs depending on the consumer. * * @module */ import { z } from "zod"; /** Package asset references used when a brand context supplies no custom artwork. */ export declare const DEFAULT_BRAND_ASSETS: { readonly icon: { readonly light: "@dbx-tools/ui/branding/assets/icon-light.svg"; readonly dark: "@dbx-tools/ui/branding/assets/icon-dark.svg"; }; readonly logo: { readonly light: "@dbx-tools/ui/branding/assets/logo-light.svg"; readonly dark: "@dbx-tools/ui/branding/assets/logo-dark.svg"; }; readonly favicon: "@dbx-tools/ui/branding/assets/icon-light.svg"; }; /** Validates light and optional dark variants for one visual asset. */ export declare const BrandAssetSetSchema: z.ZodObject<{ light: z.ZodString; dark: z.ZodOptional; }, z.core.$strict>; /** Strict brand palette whose omitted colors resolve to the dbx tools defaults. */ export declare const BrandColorsSchema: z.ZodPrefault; primaryHover: z.ZodDefault; accent: z.ZodDefault; foreground: z.ZodDefault; background: z.ZodDefault; surface: z.ZodDefault; muted: z.ZodDefault; border: z.ZodDefault; }, z.core.$strict>>; /** Strict audience, tone, principle, and avoidance lists with practical defaults. */ export declare const BrandVoiceSchema: z.ZodPrefault>; tone: z.ZodDefault>; principles: z.ZodDefault>; avoid: z.ZodDefault>; }, z.core.$strict>>; /** * Strict portable brand contract that fills identity, assets, colors, * typography, voice, links, and extension defaults during parsing. */ export declare const BrandContextSchema: z.ZodObject<{ schemaVersion: z.ZodDefault>; name: z.ZodDefault; shortName: z.ZodDefault; tagline: z.ZodOptional; description: z.ZodDefault; assets: z.ZodDefault; }, z.core.$strict>>; logo: z.ZodDefault; }, z.core.$strict>>; favicon: z.ZodDefault; }, z.core.$strict>>; colors: z.ZodPrefault; primaryHover: z.ZodDefault; accent: z.ZodDefault; foreground: z.ZodDefault; background: z.ZodDefault; surface: z.ZodDefault; muted: z.ZodDefault; border: z.ZodDefault; }, z.core.$strict>>; typography: z.ZodPrefault; mono: z.ZodDefault; }, z.core.$strict>>; voice: z.ZodPrefault>; tone: z.ZodDefault>; principles: z.ZodDefault>; avoid: z.ZodDefault>; }, z.core.$strict>>; links: z.ZodPrefault; repository: z.ZodOptional; documentation: z.ZodDefault; }, z.core.$strict>>; extensions: z.ZodDefault>; }, z.core.$strict>; /** Fully validated brand context after every schema default has been applied. */ export type BrandContext = z.output; /** Input accepted by {@link BrandContextSchema}, before defaults are materialized. */ export type BrandContextInput = z.input; /** Theme-aware light and optional dark references for one brand asset. */ export type BrandAssetSet = z.output; /** Validate input and fill every dbx tools default. */ export declare function parseBrandContext(input?: unknown): BrandContext; /** Canonical dbx tools brand context with all schema defaults resolved. */ export declare const defaultBrandContext: BrandContext; /** JSON Schema representation suitable for structured-output and tool definitions. */ export declare function brandContextJsonSchema(): Record; /** Stable prompt block for an LLM that needs to write or design in this brand. */ export declare function brandContextPrompt(context?: BrandContext): string;