import { ORM } from "@fullstack-one/db"; export * from "./db-schema-builder/IDbMeta"; export * from "./gql-schema-builder/interfaces"; export * from "./decorators/index"; import * as utils from "./gql-schema-builder/utils"; export { utils }; import { IDbMeta } from "./db-schema-builder/IDbMeta"; import { DocumentNode, DefinitionNode } from "graphql"; import { IResolverMeta } from "./gql-schema-builder/interfaces"; export { defineExpression } from "./gql-schema-builder/expressions/defineExpression"; export { splitActionFromNode } from "./db-schema-builder/helper"; export { createConstraint } from "./db-schema-builder/fromGQl/gQlAstToDbMetaHelper"; export { registerDirectiveParser } from "./db-schema-builder/fromGQl/gQlAstToDbMeta"; export { registerQueryParser } from "./db-schema-builder/fromPg/pgToDbMeta"; export { registerTriggerParser } from "./db-schema-builder/fromPg/pgToDbMeta"; export { registerColumnMigrationExtension, registerTableMigrationExtension } from "./db-schema-builder/toPg/createSqlObjFromMigrationObject"; export declare class SchemaBuilder { private readonly orm; private schemaBuilderConfig; private gQlSdl; private gqlSdlExtensions; private gQlAst; private gqlRuntimeDocument; private resolverMeta; private dbMeta; private extensions; private config; private loggerFactory; private logger; private ENVIRONMENT; constructor(config: any, loggerFactory: any, bootLoader: any, orm: ORM); private boot; private loadPermissions; addExtension(extension: any): void; getDbMeta(): IDbMeta; extendSchema(schema: string): void; getGQlRuntimeObject(): { dbMeta: IDbMeta; gqlRuntimeDocument: DocumentNode; resolverMeta: IResolverMeta; }; getGQlSdl(): { [x: number]: string; length: number; toString(): string; toLocaleString(): string; pop(): string; push(...items: string[]): number; concat(...items: ConcatArray[]): string[]; concat(...items: (string | ConcatArray)[]): string[]; join(separator?: string): string; reverse(): string[]; shift(): string; slice(start?: number, end?: number): string[]; sort(compareFn?: (a: string, b: string) => number): string[]; splice(start: number, deleteCount?: number): string[]; splice(start: number, deleteCount: number, ...items: string[]): string[]; unshift(...items: string[]): number; indexOf(searchElement: string, fromIndex?: number): number; lastIndexOf(searchElement: string, fromIndex?: number): number; every(callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any): boolean; some(callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any): boolean; forEach(callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any): void; map(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any): U[]; filter(callbackfn: (value: string, index: number, array: string[]) => value is S, thisArg?: any): S[]; filter(callbackfn: (value: string, index: number, array: string[]) => unknown, thisArg?: any): string[]; reduce(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string; reduce(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string; reduce(callbackfn: (previousValue: U_1, currentValue: string, currentIndex: number, array: string[]) => U_1, initialValue: U_1): U_1; reduceRight(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string; reduceRight(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string; reduceRight(callbackfn: (previousValue: U_2, currentValue: string, currentIndex: number, array: string[]) => U_2, initialValue: U_2): U_2; find(predicate: (this: void, value: string, index: number, obj: string[]) => value is S_1, thisArg?: any): S_1; find(predicate: (value: string, index: number, obj: string[]) => unknown, thisArg?: any): string; findIndex(predicate: (value: string, index: number, obj: string[]) => unknown, thisArg?: any): number; fill(value: string, start?: number, end?: number): string[]; copyWithin(target: number, start: number, end?: number): string[]; [Symbol.iterator](): IterableIterator; entries(): IterableIterator<[number, string]>; keys(): IterableIterator; values(): IterableIterator; [Symbol.unscopables](): { copyWithin: boolean; entries: boolean; fill: boolean; find: boolean; findIndex: boolean; keys: boolean; values: boolean; }; includes(searchElement: string, fromIndex?: number): boolean; }; getGQlAst(): { kind: "Document"; loc?: import("graphql").Location; definitions: readonly DefinitionNode[]; }; print(document: any): string; }