import type { TypedDocumentNode } from '@graphql-typed-document-node/core';
import BaseCommand from '../base-command';
import { FragmentType } from '../gql';
import { SchemaErrorConnection, SchemaWarningConnection } from '../gql/graphql';
export declare function renderErrors(this: BaseCommand<any>, errors: SchemaErrorConnection): void;
declare const RenderChanges_SchemaChanges: TypedDocumentNode<import("../gql/graphql").RenderChanges_SchemaChangesFragment, unknown>;
export declare function renderChanges(this: BaseCommand<any>, maskedChanges: FragmentType<typeof RenderChanges_SchemaChanges>): void;
export declare function renderWarnings(this: BaseCommand<any>, warnings: SchemaWarningConnection): void;
export declare function loadSchema(
/**
 * This is used to determine the correct loader to use.
 *
 * If a user is simply introspecting a schema, the 'introspection' should be used.
 * In case of federation, we should skip the UrlLoader,
 * because it will try to introspect the schema
 * instead of fetching the SDL with directives.
 */
intent: 'introspection' | 'federation-subgraph-introspection', file: string, options?: {
    headers?: Record<string, string>;
    method?: 'GET' | 'POST';
}): Promise<string>;
export declare function minifySchema(schema: string): string;
export {};
//# sourceMappingURL=schema.d.ts.map