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