/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import { recordsAppend } from "../funcs/recordsAppend.js";
import { recordsCheckTail } from "../funcs/recordsCheckTail.js";
import { recordsRead } from "../funcs/recordsRead.js";
import { ClientSDK } from "../lib/sdks.js";
import { unwrapAsync } from "../types/fp.js";
export { ReadAcceptEnum } from "../funcs/recordsRead.js";
export class Records extends ClientSDK {
    /**
     * Read records.
     */
    async read(request, options) {
        return unwrapAsync(recordsRead(this, request, options));
    }
    /**
     * Append records.
     */
    async append(request, options) {
        return unwrapAsync(recordsAppend(this, request, options));
    }
    /**
     * Check the tail.
     */
    async checkTail(request, options) {
        return unwrapAsync(recordsCheckTail(this, request, options));
    }
}
//# sourceMappingURL=records.js.map