import { JSONSchema7, JSONSchema7Definition } from 'json-schema'; import { CardDetailTemplate, CardFormTemplate, CardFragment, FieldType } from './schema'; export type CoastJSONSchema7Definition = JSONSchema7Definition & { fieldType?: 'cards' | 'tags'; }; export type CardSingleTemplate = CardFormTemplate | CardDetailTemplate; export type FragmentUUID = string; export declare const TupleFieldTypes: FieldType[]; export declare const FieldDelimiter = '_'; export declare const makeFieldName: (baseName: string, uuid: string) => string; export declare const makeTupleFieldName: (name: string, tupleName: string) => string; export declare function generateCardDefinition({ fragment, uuid, rootCardDefinition, }: { fragment: CardFragment; uuid: FragmentUUID; rootCardDefinition: JSONSchema7; }): JSONSchema7; export declare function generateUITemplate({ slug, title, fragment, uuid, rootUITemplate, }: { slug: string; title: string; fragment: CardFragment; uuid: FragmentUUID; rootUITemplate: T; }): T;