import { Codegen, Context } from './internal/codegen/index.js'; import { Program } from '../sourcegen/index.js'; import { StatusPageServiceResource } from './status-page-service-codegen.js'; import { StatusPageTheme } from './status-page.js'; import { StatusPageV3Codegen, StatusPageV3Resource } from './status-page-v3-codegen.js'; export interface StatusPageCardResource { id: string; name: string; services: StatusPageServiceResource[]; } export interface StatusPageV2Resource { id: string; name: string; url: string; version?: 2; cards: StatusPageCardResource[]; customDomain?: string; logo?: string; redirectTo?: string; favicon?: string; defaultTheme?: StatusPageTheme; } export type StatusPageResource = StatusPageV2Resource | StatusPageV3Resource; export declare class StatusPageCodegen extends Codegen { v3Codegen: StatusPageV3Codegen; constructor(program: Program); describe(resource: StatusPageResource): string; prepare(logicalId: string, resource: StatusPageResource, context: Context): void; gencode(logicalId: string, resource: StatusPageResource, context: Context): void; }