import { PostMessage } from '@picsart/miniapp-sdk-types'; import type { IMigrationOptions } from 'migrations/types'; import type { V6ILayerData, V6ImageLayerParams, V6IResource } from 'migrations/types/old/v6'; import type { V7VideoLayerParams } from 'migrations/types/old/v7'; export default function openFileChooserResponse(options: IMigrationOptions>): IMigrationOptions> | { data: { payload: { images: V6ILayerData[]; videos: V6ILayerData[]; texts: never[]; resources: Record; }; sid: string; action: string; resolveId: string; }; currentVersion: string; targetVersion?: string | undefined; };