import { Result } from '../auth/result.type'; import { File, VideoPreset } from '../select/file.type'; import { AuthInformationState } from '../auth/useAuthInformation'; export declare const defaultAssetFieldSelection = "\n id\n name\n description\n databaseId\n createdAt\n originalUrl\n publishedAt\n tags\n type\n updatedAt\n url\n extensions\n metaproperties {\n nodes {\n name\n type\n options {\n name\n displayLabel\n }\n }\n }\n textMetaproperties {\n name\n value\n }\n derivatives {\n thumbnail\n webImage\n }\n ... on Video {\n previewUrls\n streamingLinks {\n dash,\n hls,\n embedCode\n }\n videoPresets {\n presetId\n name\n format\n previewUrl\n }\n }\n"; export interface StreamingLinks { hls: string; dash: string; embedCode: string; } export interface Asset { id: string; files: Record; databaseId?: string; streamingLinks?: StreamingLinks; videoPresets?: VideoPreset[]; } export declare function getAsset(options: { assetId: string; auth: AuthInformationState | null; assetFieldSelection?: string; noCache?: boolean; }): Promise>;