import { GetAllFormatCodesResponse, GetAssetsInFolderRequest, GetAssetsInFolderResponse, GetAssetsRequest, GetAssetsResponse, GetAvailableProxiesResponse, GetCropZoneSuggestionRequest, GetCropZoneSuggestionResponse, GetTransformAssetLinkResponse, SearchAssetsParams, SearchAssetsResponse } from './asset.types';

export declare const DEFAULT_VIEW_SIZE = "CoreField.LargeSizePreview";
export declare const FIELD_CORTEX_PATH = "Document.CortexPath";
export declare const FIELD_DOC_TYPE = "CoreField.DocType";
export declare const FIELD_DOC_TITLE = "Document.Title";
export declare const FIELD_DOC_CAPTION_LONG = "Document.CaptionLong";
export declare const FIELD_EXTENSION = "Document.FileExtension";
export declare const FIELD_FILE_SIZE = "CoreField.FileSize";
export declare const FIELD_IDENTIFIER = "CoreField.Identifier";
export declare const FIELD_KEYWORDS = "CoreField.Keywords";
export declare const FIELD_MAX_HEIGHT = "CoreField.MaxHeight";
export declare const FIELD_MAX_WIDTH = "CoreField.MaxWidth";
export declare const FIELD_RECORD_ID = "Document.RecordID";
export declare const FIELD_SUBTYPE = "CoreField.DocSubType";
export declare const FIELD_TITLE_WITH_FALLBACK = "CoreField.TitleWithFallback";
export declare const FIELD_HAS_BROWSER_CHILDREN = "Document.HasBrowserChildren";
export declare const FIELD_ORIGINAL_FILE_NAME = "CoreField.OriginalFileName";
export declare const FIELD_UPDATED_FILE_NAME = "CoreField.UpdatedFileName";
export declare const FIELD_LARGE_SIZE_PREVIEW_ID = "Document.DocumentDirectRepresentativeRID";
export declare const LIBRARY_NAME = "Library";
export declare const MESSAGE_NEW_LINE = "\n";
export declare const ORIGINAL_VIEW_SIZE = "CoreField.OriginalPreview";
export declare const SEARCH_FIELDS: {
    DEFAULT_VIEW_SIZE: string;
    FIELD_TITLE_WITH_FALLBACK: string;
    ORIGINAL_VIEW_SIZE: string;
};
export declare function resolveAssetExtraFilters(selectedFacets?: Record<string, string[]>): Record<string, string[]>;
export declare function apiSearchAssets({ countPerPage, fields, getPermanentAssetsPaths, pageNumber, query, siteUrl, sort, token, useSession, }: SearchAssetsParams): Promise<SearchAssetsResponse>;
export declare function apiGetTransformAssetLink({ assetId, extension, format, siteUrl, token, transformations, useSession, }: {
    assetId: string;
    extension?: string;
    format?: string;
    siteUrl?: string;
    token?: string;
    transformations?: string;
    useSession?: string;
}): Promise<GetTransformAssetLinkResponse | null>;
export declare function apiGetAssets({ extraFields, getPermanentAssetsPaths, recordIds, token, }: GetAssetsRequest): Promise<GetAssetsResponse>;
export declare function apiGetAssetsInFolder({ countPerPage, extraFields, getPermanentAssetsPaths, limitedDocTypes, pageNumber, parentFolderIdentifier, searchTerm, sortOrder, token, }: GetAssetsInFolderRequest): Promise<GetAssetsInFolderResponse>;
export declare function apiGetCropFocusMode({ autoCropMode, cropHeight, cropWidth, imageUrl, useSession, }: GetCropZoneSuggestionRequest): Promise<GetCropZoneSuggestionResponse | null>;
export declare function apiGetAvailableProxies({ assetRecordId, siteUrl, token, useSession, }: {
    assetRecordId: string;
    siteUrl?: string;
    token?: string;
    useSession?: string;
}): Promise<GetAvailableProxiesResponse>;
export declare function apiGetAllFormatCodes({ siteUrl, }?: {
    siteUrl?: string;
}): Promise<GetAllFormatCodesResponse | {
    formatsByDocType: {};
}>;
/**
 * Uploads a file via UploadNewMedia v3 (`UPLOAD_RESPONSE`), then resolves a download URL via GetAssetLink.
 */
export declare function apiUploadNewMediaV3GetDownloadLink({ baseUri, file, fileExtension, folderRecordID, }: {
    baseUri?: string;
    file: File;
    fileExtension: string;
    folderRecordID: string;
}): Promise<string | null>;
