import { Codegen, Context } from './internal/codegen/index.js'; import { GeneratedFile, Value } from '../sourcegen/index.js'; import { StatusPageTheme } from './status-page.js'; import type { StatusPageV3ThemeColors } from './status-page-v3.js'; export interface StatusPageV3Resource { id: string; name: string; url: string; version: 3; customDomain?: string | null; description?: string | null; logo?: string | null; logoDark?: string | null; redirectTo?: string | null; favicon?: string | null; defaultTheme?: StatusPageTheme | null; privacyPolicyLink?: string | null; termsOfServiceLink?: string | null; supportLink?: string | null; footerText?: string | null; googleAnalyticsTag?: string | null; allowIndexing?: boolean | null; themeColors?: StatusPageV3ThemeColors | null; } export declare function valueForStatusPageV3FromId(genfile: GeneratedFile, physicalId: string): Value; /** * Resolves a reference to a v3 status page: an imported page, a page already * declared in the project (friend), or a `fromId()` reference as fallback. */ export declare function valueForStatusPageV3Ref(genfile: GeneratedFile, physicalId: string, context: Context): Value; /** * v2 and v3 pages share the `status-page` resource type. `StatusPageCodegen` * dispatches here when the payload carries `version: 3`. */ export declare class StatusPageV3Codegen extends Codegen { describe(resource: StatusPageV3Resource): string; prepare(logicalId: string, resource: StatusPageV3Resource, context: Context): void; gencode(logicalId: string, resource: StatusPageV3Resource, context: Context): void; }