import type { GraphQLFormattedError } from "graphql";
export declare namespace CombinedProtocolErrors {
    interface MessageFormatterOptions {
        defaultFormatMessage: (errors: ReadonlyArray<GraphQLFormattedError>) => string;
    }
    type MessageFormatter = (errors: ReadonlyArray<GraphQLFormattedError>, options: MessageFormatterOptions) => string;
}
/**
 * Fatal transport-level errors returned when executing a subscription using the
 * multipart HTTP subscription protocol. See the documentation on the
 * [multipart HTTP protocol for GraphQL Subscriptions](https://www.apollographql.com/docs/graphos/routing/operations/subscriptions/multipart-protocol) for more information on these errors.
 */
export declare class CombinedProtocolErrors extends Error {
    /** Determine if an error is a `CombinedProtocolErrors` instance */
    static is(error: unknown): error is CombinedProtocolErrors;
    static formatMessage: CombinedProtocolErrors.MessageFormatter;
    errors: ReadonlyArray<GraphQLFormattedError>;
    constructor(protocolErrors: Array<GraphQLFormattedError> | ReadonlyArray<GraphQLFormattedError>);
}
//# sourceMappingURL=CombinedProtocolErrors.d.ts.map
