1 | import "source-map-support/register";
|
2 | import { Schema, SchemaDefinition } from "./Schema";
|
3 | import { Condition } from "./Condition";
|
4 | import transaction from "./Transaction";
|
5 | import { Document, AnyDocument } from "./Document";
|
6 | import { ModelType } from "./General";
|
7 | declare const _default: {
|
8 | model: {
|
9 | <T extends Document = AnyDocument>(name: string, schema?: Schema | SchemaDefinition | (Schema | SchemaDefinition)[], options?: import("./General").DeepPartial<import("./Model").ModelOptions>): ModelType<T>;
|
10 | defaults: any;
|
11 | };
|
12 | Schema: typeof Schema;
|
13 | Condition: typeof Condition;
|
14 | transaction: typeof transaction;
|
15 | aws: {
|
16 | sdk: typeof import("aws-sdk");
|
17 | ddb: typeof import("./aws/ddb");
|
18 | converter: typeof import("./aws/converter");
|
19 | };
|
20 | logger: {
|
21 | pause: () => void;
|
22 | resume: () => void;
|
23 | status: () => "active" | "paused";
|
24 | providers: {
|
25 | set: (provider: any) => void;
|
26 | clear: () => void;
|
27 | add: (provider: any) => void;
|
28 | delete: (id: string | string[]) => void;
|
29 | list: () => any[];
|
30 | };
|
31 | };
|
32 | UNDEFINED: symbol;
|
33 | THIS: symbol;
|
34 | NULL: symbol;
|
35 | };
|
36 | export = _default;
|