/** * This file was auto-generated by Fern from our API Definition. */ import * as environments from "../../../../environments"; import * as core from "../../../../core"; import * as Flatfile from "../../../index"; export declare namespace Cells { interface Options { environment?: core.Supplier; /** Specify a custom URL to connect the client to. */ baseUrl?: core.Supplier; token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; fetcher?: core.FetchFunction; } interface RequestOptions { /** The maximum time to wait for a response in seconds. */ timeoutInSeconds?: number; /** The number of times to retry the request. Defaults to 2. */ maxRetries?: number; /** A hook to abort the request. */ abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; /** Additional headers to include in the request. */ headers?: Record; } } export declare class Cells { protected readonly _options: Cells.Options; constructor(_options?: Cells.Options); /** * Returns record cell values grouped by all fields in the sheet * * @param {Flatfile.SheetId} sheetId - ID of sheet * @param {Flatfile.GetFieldValuesRequestDeprecated} request * @param {Cells.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.cells.getValues("us_sh_YOUR_ID", { * fieldKey: "firstName", * sortField: "firstName", * sortDirection: "asc", * filter: "valid" * }) */ getValues(sheetId: Flatfile.SheetId, request?: Flatfile.GetFieldValuesRequestDeprecated, requestOptions?: Cells.RequestOptions): core.HttpResponsePromise; private __getValues; protected _getAuthorizationHeader(): Promise; }