import { UiSchema } from "@rjsf/utils";
import { EditFieldsOptions, ModelName, Schema, SchemaDefinitions } from "../types";
export type Schemas = {
    schema: any;
    uiSchema: UiSchema;
};
export declare function getSchemaForResource(schema: any, resource: string): any;
export declare function getSchemas<M extends ModelName>(data: any, schema: SchemaDefinitions[M], editFieldsOptions?: EditFieldsOptions<M>): Schemas & {
    edit: boolean;
    id?: string | number;
};
export declare const getDefinitionFromRef: (schema: Schema, ref: string) => import("..").SchemaModel<Prisma.ModelName>;
//# sourceMappingURL=jsonSchema.d.ts.map