import type { PropType } from 'vue'; import type { RecordItem, KonnectBaseEntityConfig, KongManagerBaseEntityConfig, SupportedEntityType } from '../../types'; export interface PropList { basic?: RecordItem[]; advanced?: RecordItem[]; plugin?: RecordItem[]; } export type CodeFormat = 'yaml' | 'json' | 'terraform' | 'deck'; export type Format = 'structured' | CodeFormat; declare var __VLS_2: `config-card-item-${string}`, __VLS_3: { row: RecordItem; }, __VLS_13: `${string}-label`, __VLS_14: { row: RecordItem; }, __VLS_18: `${string}-label-tooltip`, __VLS_19: { row: RecordItem; }, __VLS_23: string, __VLS_24: { row: RecordItem; rowValue: any; }; type __VLS_Slots = {} & { [K in NonNullable]?: (props: typeof __VLS_3) => any; } & { [K in NonNullable]?: (props: typeof __VLS_14) => any; } & { [K in NonNullable]?: (props: typeof __VLS_19) => any; } & { [K in NonNullable]?: (props: typeof __VLS_24) => any; }; declare const __VLS_base: import("vue").DefineComponent; required: false; default: () => {}; }; entityType: { type: PropType; required: true; validator: (val: SupportedEntityType) => boolean; }; subEntityType: { type: StringConstructor; default: string; }; propertyCollections: { type: PropType; required: false; default: () => null; }; format: { type: PropType; required: false; default: string; validator: (val: string) => boolean; }; propListTypes: { type: PropType; required: false; default: () => never[]; }; /** A record to indicate the entity's configuration, used to populate the JSON/YAML code blocks */ record: { type: PropType>; required: false; default: () => {}; }; /** Fetcher url for the entity with the filled-in controlPlaneId, workspace, and entity id. */ fetcherUrl: { type: StringConstructor; required: false; default: string; }; /** * A function to format the entity record before displaying it in the code block. */ codeBlockRecordFormatter: { type: PropType<(entityRecord: Record, format: CodeFormat) => Record>; required: false; default: (entityRecord: Record) => Record; }; }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly; required: false; default: () => {}; }; entityType: { type: PropType; required: true; validator: (val: SupportedEntityType) => boolean; }; subEntityType: { type: StringConstructor; default: string; }; propertyCollections: { type: PropType; required: false; default: () => null; }; format: { type: PropType; required: false; default: string; validator: (val: string) => boolean; }; propListTypes: { type: PropType; required: false; default: () => never[]; }; /** A record to indicate the entity's configuration, used to populate the JSON/YAML code blocks */ record: { type: PropType>; required: false; default: () => {}; }; /** Fetcher url for the entity with the filled-in controlPlaneId, workspace, and entity id. */ fetcherUrl: { type: StringConstructor; required: false; default: string; }; /** * A function to format the entity record before displaying it in the code block. */ codeBlockRecordFormatter: { type: PropType<(entityRecord: Record, format: CodeFormat) => Record>; required: false; default: (entityRecord: Record) => Record; }; }>> & Readonly<{}>, { format: Format; config: KonnectBaseEntityConfig | KongManagerBaseEntityConfig; fetcherUrl: string; subEntityType: string; propertyCollections: PropList; propListTypes: string[]; record: Record; codeBlockRecordFormatter: (entityRecord: Record, format: CodeFormat) => Record; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; declare const __VLS_export: __VLS_WithSlots; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; }; //# sourceMappingURL=ConfigCardDisplay.vue.d.ts.map