import { Component } from 'projen'; import { DynamicKVInput } from './dynamic-kv-input'; import { Blueprint } from '../blueprint'; /** * This represents an options schema based on DynamicKVInput types */ export type KVSchema = DynamicKVInput[]; /** * This represents all wizard supported schemas. */ export type OptionsSchemaType = KVSchema; /** * This represents a section of the wizard that can be dynamically rendered from a schema provided by the synthesis process. */ export type OptionsSchemaDefinition = ReturnType | undefined; /** * This component can be used to define a schema with a given identifier. */ export declare class OptionsSchema extends Component { protected readonly blueprint: Blueprint; protected readonly identifier: string; protected readonly schema: T; constructor(blueprint: Blueprint, identifier: string, schema: T); synthesize(): void; }