/** Error shape for hosted stream terminal. */ export type HostedStreamTerminalError = { code: string; message: string; }; /** Return hosted stream error text. */ export declare function getHostedStreamErrorText(streamError: unknown): string; /** Error shape for get empty hosted finalized message terminal. */ export declare function getEmptyHostedFinalizedMessageTerminalError(input: { finalStep: unknown; streamError?: unknown | null; }): HostedStreamTerminalError; /** Message shape for should fail empty hosted finalized. */ export declare function shouldFailEmptyHostedFinalizedMessage(input: { isAborted: boolean; message: { parts: ReadonlyArray; }; }): boolean; //# sourceMappingURL=stream-terminal-error.d.ts.map