export declare type Type = "string" | "number" | "boolean"; export interface StructureUnit { name: keyof A; optional: boolean; type: Type | StructureUnit[]; } export declare const checkField: (e: A, attribute: keyof A, isOptional?: boolean, type?: Type) => boolean; export declare const verifyObject: (e: A, structure: StructureUnit[], optional?: boolean) => boolean; export declare const isObject: (objectToType: A, structure: StructureUnit[]) => objectToType is A;