/**
 * Synapse REST API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: v1
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import type { FileHandle } from './FileHandle';
/**
 * Result of a single File request.
 * @export
 * @interface FileResult
 */
export interface FileResult {
    /**
     * The ID of the requested FileHandle.
     * @type {string}
     * @memberof FileResult
     */
    fileHandleId?: string;
    /**
     *
     * @type {FileHandle}
     * @memberof FileResult
     */
    fileHandle?: FileHandle;
    /**
     * A pre-signed URL to download the requested file. Null if the request.includePreSignedURLs=false.
     * @type {string}
     * @memberof FileResult
     */
    preSignedURL?: string;
    /**
     * A pre-signed URL to download the preview of requested file. Null if the request.includePreviewPreSignedURLs=false.
     * @type {string}
     * @memberof FileResult
     */
    previewPreSignedURL?: string;
    /**
     * Failure code for files that cannot be downloaded.
     * @type {string}
     * @memberof FileResult
     */
    failureCode?: FileResultFailureCodeEnum;
}
/**
 * @export
 */
export declare const FileResultFailureCodeEnum: {
    readonly NOT_FOUND: "NOT_FOUND";
    readonly UNAUTHORIZED: "UNAUTHORIZED";
};
export type FileResultFailureCodeEnum = typeof FileResultFailureCodeEnum[keyof typeof FileResultFailureCodeEnum];
/**
 * Check if a given object implements the FileResult interface.
 */
export declare function instanceOfFileResult(value: object): value is FileResult;
export declare function FileResultFromJSON(json: any): FileResult;
export declare function FileResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileResult;
export declare function FileResultToJSON(json: any): FileResult;
export declare function FileResultToJSONTyped(value?: FileResult | null, ignoreDiscriminator?: boolean): any;
