import { Codegen, Context } from './internal/codegen/index.js'; import { GeneratedFile, Value } from '../sourcegen/index.js'; import { StatusPageV3ComponentType } from './status-page-v3-component.js'; export interface StatusPageV3ComponentResource { id: string; statusPageId: string; parentId?: string | null; type: StatusPageV3ComponentType; name: string; description?: string | null; hidden?: boolean | null; displayOrder: number; configuration?: Record | null; } export declare function valueForStatusPageV3ComponentFromId(genfile: GeneratedFile, physicalId: string): Value; /** * Resolves a reference to a component: an imported component, one already * declared in the project (friend), or a `fromId()` reference as fallback. */ export declare function valueForStatusPageV3ComponentRef(genfile: GeneratedFile, physicalId: string, context: Context): Value; export declare class StatusPageV3ComponentCodegen extends Codegen { describe(resource: StatusPageV3ComponentResource): string; prepare(logicalId: string, resource: StatusPageV3ComponentResource, context: Context): void; gencode(logicalId: string, resource: StatusPageV3ComponentResource, context: Context): void; }