import { GQLOperation, GQLConnectionACK, GQLConnectionKeepAlive, GQLErrorEvent, GQLData, GQLComplete, GQLStopOperation, GQLConnectionInit, AppSyncStartAck, AppSyncErrorEvent } from './protocol'; declare type AllowedProtocolEvents = GQLOperation | GQLConnectionACK | GQLConnectionKeepAlive | GQLErrorEvent | GQLData | GQLComplete | GQLConnectionInit | GQLStopOperation | AppSyncStartAck | AppSyncErrorEvent; export declare function formatMessage(event: AllowedProtocolEvents): string; export declare function formatErrorMessage(err: Error, isAppSync?: boolean): string; export {}; //# sourceMappingURL=formatMessage.d.ts.map