UNPKG

@prismicio/types-internal

Version:
20 lines (19 loc) 769 B
import * as t from "io-ts"; export declare const TextFieldType = "Text"; export declare const TextConfig: t.ExactC<t.PartialC<{ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>; useAsTitle: t.BooleanC; placeholder: t.StringC; }>>; export declare type TextConfig = t.TypeOf<typeof TextConfig>; export declare const Text: t.ExactC<t.IntersectionC<[t.TypeC<{ type: t.LiteralC<"Text">; }>, t.PartialC<{ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>; config: t.ExactC<t.PartialC<{ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>; useAsTitle: t.BooleanC; placeholder: t.StringC; }>>; }>]>>; export declare type Text = t.TypeOf<typeof Text>;