import type { DocumentNode } from 'graphql/language/index.js';
import SchemaCodeGenerator from './codegen/schema.js';
export default class Schema {
    document: string;
    ast: DocumentNode;
    filename?: string | undefined;
    constructor(document: string, ast: DocumentNode, filename?: string | undefined);
    codeGenerator(): SchemaCodeGenerator;
    static load(filename: string): Promise<Schema>;
    static loadFromString(document: string): Promise<Schema>;
    getEntityNames(): string[];
}
