import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import * as shared from "../shared/index.js";
export type DocumentsGetFileRequest = {
    /**
     * The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
     */
    fields?: string | null | undefined;
    id: string;
    /**
     * Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
     */
    proxy?: {
        [k: string]: any;
    } | null | undefined;
    /**
     * Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
     */
    raw?: boolean | null | undefined;
    /**
     * The account identifier
     */
    xAccountId: string;
    /**
     * The session token
     */
    xStackoneApiSessionToken?: string | undefined;
};
export type DocumentsGetFileResponse = {
    /**
     * HTTP response content type for this operation
     */
    contentType: string;
    /**
     * The file with the given identifier was retrieved.
     */
    fileResult?: shared.FileResult | undefined;
    headers: {
        [k: string]: Array<string>;
    };
    /**
     * HTTP response status code for this operation
     */
    statusCode: number;
    /**
     * Raw HTTP response; suitable for custom response parsing
     */
    rawResponse: Response;
};
/** @internal */
export declare const DocumentsGetFileRequest$inboundSchema: z.ZodType<DocumentsGetFileRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type DocumentsGetFileRequest$Outbound = {
    fields?: string | null | undefined;
    id: string;
    proxy?: {
        [k: string]: any;
    } | null | undefined;
    raw?: boolean | null | undefined;
    "x-account-id": string;
    "x-stackone-api-session-token"?: string | undefined;
};
/** @internal */
export declare const DocumentsGetFileRequest$outboundSchema: z.ZodType<DocumentsGetFileRequest$Outbound, z.ZodTypeDef, DocumentsGetFileRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace DocumentsGetFileRequest$ {
    /** @deprecated use `DocumentsGetFileRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<DocumentsGetFileRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `DocumentsGetFileRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<DocumentsGetFileRequest$Outbound, z.ZodTypeDef, DocumentsGetFileRequest>;
    /** @deprecated use `DocumentsGetFileRequest$Outbound` instead. */
    type Outbound = DocumentsGetFileRequest$Outbound;
}
export declare function documentsGetFileRequestToJSON(documentsGetFileRequest: DocumentsGetFileRequest): string;
export declare function documentsGetFileRequestFromJSON(jsonString: string): SafeParseResult<DocumentsGetFileRequest, SDKValidationError>;
/** @internal */
export declare const DocumentsGetFileResponse$inboundSchema: z.ZodType<DocumentsGetFileResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type DocumentsGetFileResponse$Outbound = {
    ContentType: string;
    FileResult?: shared.FileResult$Outbound | undefined;
    Headers: {
        [k: string]: Array<string>;
    };
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const DocumentsGetFileResponse$outboundSchema: z.ZodType<DocumentsGetFileResponse$Outbound, z.ZodTypeDef, DocumentsGetFileResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace DocumentsGetFileResponse$ {
    /** @deprecated use `DocumentsGetFileResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<DocumentsGetFileResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `DocumentsGetFileResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<DocumentsGetFileResponse$Outbound, z.ZodTypeDef, DocumentsGetFileResponse>;
    /** @deprecated use `DocumentsGetFileResponse$Outbound` instead. */
    type Outbound = DocumentsGetFileResponse$Outbound;
}
export declare function documentsGetFileResponseToJSON(documentsGetFileResponse: DocumentsGetFileResponse): string;
export declare function documentsGetFileResponseFromJSON(jsonString: string): SafeParseResult<DocumentsGetFileResponse, SDKValidationError>;
//# sourceMappingURL=documentsgetfile.d.ts.map