import type { S2RequestOptions } from "../../../../common.js"; import type { Client } from "../../../../generated/client/index.js"; import type * as Types from "../../../../types.js"; import type { ReadArgs, ReadBatch } from "../../types.js"; type RequestOptionsWithHeaders = S2RequestOptions & { headers?: Record; }; export declare function streamRead(stream: string, client: Client, args?: ReadArgs, options?: RequestOptionsWithHeaders): Promise>; type FetchAppendOptions = RequestOptionsWithHeaders & { preferProtobuf?: boolean; }; export declare function streamAppend(stream: string, client: Client, input: Types.AppendInput, options?: FetchAppendOptions): Promise; export {}; //# sourceMappingURL=shared.d.ts.map