import { StackOneCore } from "../core.js";
import { RequestOptions } from "../lib/sdks.js";
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../sdk/models/errors/httpclienterrors.js";
import * as errors from "../sdk/models/errors/index.js";
import { SDKError } from "../sdk/models/errors/sdkerror.js";
import { SDKValidationError } from "../sdk/models/errors/sdkvalidationerror.js";
import * as operations from "../sdk/models/operations/index.js";
import { APIPromise } from "../sdk/types/async.js";
import { Result } from "../sdk/types/fp.js";
/**
 * Download File
 */
export declare function documentsDownloadFile(client: StackOneCore, request: operations.DocumentsDownloadFileRequest, options?: RequestOptions): APIPromise<Result<operations.DocumentsDownloadFileResponse, errors.BadRequestResponse | errors.UnauthorizedResponse | errors.ForbiddenResponse | errors.NotFoundResponse | errors.RequestTimedOutResponse | errors.ConflictResponse | errors.PreconditionFailedResponse | errors.UnprocessableEntityResponse | errors.TooManyRequestsResponse | errors.InternalServerErrorResponse | errors.NotImplementedResponse | errors.BadGatewayResponse | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
//# sourceMappingURL=documentsDownloadFile.d.ts.map