export interface UseDatoCmsParams { query: any; variables?: Record; subscribe?: boolean | 'preview'; } export interface DatoCmsState { preview: boolean; token: string; } interface StructuredTextRoot { type: 'root'; children: Array; } interface StructuredTextBranch { type: string; children: Array; } interface StructuredTextLeaf { type: string; [key: string]: any; } type StructuredTextNode = StructuredTextBranch | StructuredTextLeaf; export interface StructuredText { value: { schema: string; document: StructuredTextRoot; }; } export {};