import { SimpleHumanV3DocumentType, HumanWithSubOtherDocumentType, NestedHumanDocumentType, DeepNestedHumanDocumentType, EncryptedHumanDocumentType, EncryptedObjectHumanDocumentType, EncryptedDeepHumanDocumentType, CompoundIndexDocumentType, CompoundIndexNoStringDocumentType, HeroArrayDocumentType, SimpleHeroArrayDocumentType, RefHumanDocumentType, RefHumanNestedDocumentType, AverageSchemaDocumentType, PointDocumentType, HumanWithTimestampDocumentType, BigHumanDocumentType, NostringIndexDocumentType, NoIndexHumanDocumentType, HumanWithCompositePrimary, HumanWithTimestampNestedDocumentType } from './schema-objects.ts'; import type { ExtractDocumentTypeFromTypedRxJsonSchema, RxJsonSchema } from '../../types/rx-schema'; export declare const humanSchemaLiteral: import("../../index.ts").DeepReadonlyObject<{ readonly title: "human schema"; readonly description: "describes a human being"; readonly version: 0; readonly keyCompression: false; readonly primaryKey: "passportId"; readonly type: "object"; readonly properties: { readonly passportId: { readonly type: "string"; readonly maxLength: 100; }; readonly firstName: { readonly type: "string"; readonly maxLength: 100; }; readonly lastName: { readonly type: "string"; readonly maxLength: 100; }; readonly age: { readonly description: "age in years"; readonly type: "integer"; readonly minimum: 0; readonly maximum: 150; readonly multipleOf: 1; }; }; readonly required: readonly ["firstName", "lastName", "passportId"]; readonly indexes: readonly ["firstName"]; }>; declare const humanSchemaTyped: { title: "human schema"; description: "describes a human being"; version: 0; keyCompression: false; primaryKey: "passportId"; type: "object"; properties: { passportId: { type: "string"; maxLength: 100; }; firstName: { type: "string"; maxLength: 100; }; lastName: { type: "string"; maxLength: 100; }; age: { description: "age in years"; type: "integer"; minimum: 0; maximum: 150; multipleOf: 1; }; }; required: ["firstName", "lastName", "passportId"]; indexes: ["firstName"]; }; export type HumanDocumentType = ExtractDocumentTypeFromTypedRxJsonSchema; export declare const human: RxJsonSchema; export declare const humanDefault: RxJsonSchema; export declare const humanFinal: RxJsonSchema; export declare const simpleHuman: RxJsonSchema; export declare const simpleHumanV3: RxJsonSchema; export declare const humanAgeIndex: RxJsonSchema; export declare const humanSubIndex: RxJsonSchema; /** * each field is an index, * use this to slow down inserts in tests */ export declare const humanWithAllIndex: RxJsonSchema; export declare const nestedHuman: RxJsonSchema; export declare const deepNestedHuman: RxJsonSchema; export declare const noIndexHuman: RxJsonSchema; export declare const noStringIndex: RxJsonSchema; export declare const bigHuman: RxJsonSchema; export declare const encryptedHuman: RxJsonSchema; export declare const encryptedObjectHuman: RxJsonSchema; export declare const encryptedDeepHuman: RxJsonSchema; export declare const notExistingIndex: RxJsonSchema<{ passportId: string; address: { street: string; }; }>; export declare const compoundIndex: RxJsonSchema; export declare const compoundIndexNoString: RxJsonSchema; export declare const empty: RxJsonSchema; export declare const heroArray: RxJsonSchema; export declare const simpleArrayHero: RxJsonSchema; export declare const primaryHumanLiteral: import("../../index.ts").DeepReadonlyObject<{ readonly title: "human schema with primary"; readonly version: 0; readonly description: "describes a human being with passportID as primary"; readonly keyCompression: false; readonly primaryKey: "passportId"; readonly type: "object"; readonly properties: { readonly passportId: { readonly type: "string"; readonly minLength: 4; readonly maxLength: 100; }; readonly firstName: { readonly type: "string"; readonly maxLength: 100; }; readonly lastName: { readonly type: "string"; readonly maxLength: 500; }; readonly age: { readonly type: "integer"; readonly minimum: 0; readonly maximum: 150; readonly multipleOf: 1; }; }; readonly required: readonly ["passportId", "firstName", "lastName"]; }>; declare const primaryHumanTypedSchema: { title: "human schema with primary"; version: 0; description: "describes a human being with passportID as primary"; keyCompression: false; primaryKey: "passportId"; type: "object"; properties: { passportId: { type: "string"; minLength: 4; maxLength: 100; }; firstName: { type: "string"; maxLength: 100; }; lastName: { type: "string"; maxLength: 500; }; age: { type: "integer"; minimum: 0; maximum: 150; multipleOf: 1; }; }; required: ["passportId", "firstName", "lastName"]; }; export type PrimaryHumanDocType = ExtractDocumentTypeFromTypedRxJsonSchema; export declare const primaryHuman: RxJsonSchema; export declare const humanNormalizeSchema1Literal: import("../../index.ts").DeepReadonlyObject<{ readonly title: "human schema"; readonly version: 0; readonly keyCompression: false; readonly description: "describes a human being"; readonly primaryKey: "passportId"; readonly type: "object"; readonly properties: { readonly passportId: { readonly type: "string"; readonly minLength: 4; readonly maxLength: 100; }; readonly age: { readonly description: "age in years"; readonly type: "integer"; readonly minimum: 0; readonly maximum: 150; readonly multipleOf: 1; }; }; readonly required: readonly ["age", "passportId"]; }>; declare const humanNormalizeSchema1Typed: { title: "human schema"; version: 0; keyCompression: false; description: "describes a human being"; primaryKey: "passportId"; type: "object"; properties: { passportId: { type: "string"; minLength: 4; maxLength: 100; }; age: { description: "age in years"; type: "integer"; minimum: 0; maximum: 150; multipleOf: 1; }; }; required: ["age", "passportId"]; }; export type AgeHumanDocumentType = ExtractDocumentTypeFromTypedRxJsonSchema; export declare const humanNormalizeSchema1: RxJsonSchema; export declare const humanNormalizeSchema2: RxJsonSchema; export declare const refHuman: RxJsonSchema; export declare const humanCompositePrimary: RxJsonSchema; export declare const humanCompositePrimarySchemaLiteral: import("../../index.ts").DeepReadonlyObject<{ readonly title: "human schema"; readonly description: "describes a human being"; readonly version: 0; readonly keyCompression: false; readonly primaryKey: { readonly key: "id"; readonly fields: readonly ["firstName", "info.age"]; readonly separator: "|"; }; readonly encrypted: readonly []; readonly type: "object"; readonly properties: { readonly id: { readonly type: "string"; readonly maxLength: 100; }; readonly firstName: { readonly type: "string"; readonly maxLength: 100; }; readonly lastName: { readonly type: "string"; }; readonly info: { readonly type: "object"; readonly properties: { readonly age: { readonly description: "age in years"; readonly type: "integer"; readonly minimum: 0; readonly maximum: 150; }; }; readonly required: readonly ["age"]; }; readonly readonlyProps: { readonly allOf: readonly []; readonly anyOf: readonly []; readonly oneOf: readonly []; readonly type: readonly []; readonly dependencies: { readonly someDep: readonly ["asd"]; }; readonly items: readonly []; readonly required: readonly []; readonly enum: readonly []; }; }; readonly required: readonly ["id", "firstName", "lastName", "info"]; readonly indexes: readonly ["firstName"]; }>; declare const humanCompositePrimarySchemaTyped: { title: "human schema"; description: "describes a human being"; version: 0; keyCompression: false; primaryKey: { key: "id"; fields: ["firstName", "info.age"]; separator: "|"; }; encrypted: []; type: "object"; properties: { id: { type: "string"; maxLength: 100; }; firstName: { type: "string"; maxLength: 100; }; lastName: { type: "string"; }; info: { type: "object"; properties: { age: { description: "age in years"; type: "integer"; minimum: 0; maximum: 150; }; }; required: ["age"]; }; readonlyProps: { allOf: []; anyOf: []; oneOf: []; type: []; dependencies: { someDep: ["asd"]; }; items: []; required: []; enum: []; }; }; required: ["id", "firstName", "lastName", "info"]; indexes: ["firstName"]; }; export type HumanCompositePrimaryDocType = ExtractDocumentTypeFromTypedRxJsonSchema; export declare const refHumanNested: RxJsonSchema; /** * an average schema used in performance-tests */ export declare function averageSchema(): RxJsonSchema; export declare const point: RxJsonSchema; export declare const humanMinimal: RxJsonSchema; export declare const humanMinimalBroken: RxJsonSchema<{ passportId: string; broken: number; }>; /** * used in the graphql-test * contains timestamp */ export declare const humanWithTimestamp: RxJsonSchema; export declare const humanWithTimestampNested: RxJsonSchema; /** * each field is an index, * use this to slow down inserts in tests */ export declare const humanWithTimestampAllIndex: RxJsonSchema; export declare const humanWithSimpleAndCompoundIndexes: RxJsonSchema<{ id: string; name: string; age: number; createdAt: number; updatedAt: number; }>; export declare const humanWithDeepNestedIndexes: RxJsonSchema<{ id: string; name: string; job: any; }>; export declare const humanIdAndAgeIndex: RxJsonSchema<{ id: string; name: string; age: number; }>; export declare const humanWithOwnership: RxJsonSchema; export declare function enableKeyCompression(schema: RxJsonSchema): RxJsonSchema; export {};