import { ObjectLocale } from './Locale'; import { GetObjectSchema, MixedSchema, SchemaValidateOptions } from './mixed'; export interface ObjectSchema extends MixedSchema { shape(fields: GetObjectSchema, noSortEdges?: Array<[string, string]>): this; from(fromKey: keyof T, toKey: string, alias?: boolean): this; noUnknown(onlyKnownKeys?: boolean, message?: ObjectLocale['noUnknown']): this; camelCase(): this; constantCase(): this; validateInOrder(value: T, options?: SchemaValidateOptions): Promise; validateInOrderSync(value: T, options?: SchemaValidateOptions): T; } export declare function object(fields?: GetObjectSchema | ((schema: ObjectSchema) => ObjectSchema)): ObjectSchema;