import { ReadAcceptEnum } from "../funcs/streamRead.js";
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
import * as components from "../models/components/index.js";
import * as operations from "../models/operations/index.js";
export { ReadAcceptEnum } from "../funcs/streamRead.js";
export declare class Stream extends ClientSDK {
    /**
     * Retrieve records.
     *
     * @remarks
     * Retrieve a batch of records, or set `Accept: text/event-stream` to stream using server-sent events.
     */
    read(request: operations.ReadRequest, options?: RequestOptions & {
        acceptHeaderOverride?: ReadAcceptEnum;
    }): Promise<operations.ReadResponse>;
    /**
     * Append records.
     *
     * @remarks
     * Append a batch of records to a stream.
     */
    append(request: operations.AppendRequest, options?: RequestOptions): Promise<components.AppendOutput>;
    /**
     * Check the tail.
     *
     * @remarks
     * Check the sequence number that will be assigned to the next record on a stream.
     */
    checkTail(request: operations.CheckTailRequest, options?: RequestOptions): Promise<components.CheckTailResponse>;
}
//# sourceMappingURL=stream.d.ts.map