import { PropDef, PropDefEdge } from '@based/schema/def'; import { DbClient } from '../../index.js'; export declare const validate: (val: any, def: PropDef | PropDefEdge) => void; export declare const validatePayload: (payload: any) => void; export declare const validateId: (id: number) => void; export declare const getValidSchema: (db: DbClient, type: string) => import("@based/schema/def").SchemaTypeDef;