import React from 'react'; import type { _InternalTypes } from 'remotion'; import type { AssetFileType } from '../../helpers/get-preview-file-type'; type QuickSwitcherResultDetail = { type: 'asset'; fileType: AssetFileType; } | { type: 'composition'; composition: _InternalTypes['AnyComposition']; compositionType: 'composition' | 'still'; level: number; } | { type: 'menu-item'; } | { type: 'select-file'; } | { type: 'search-result'; titleLine: string; subtitleLine: string; }; export type TQuickSwitcherResult = ({ title: string; id: string; onSelected: () => void; } & QuickSwitcherResultDetail) | { title: string; id: string; type: 'folder'; level: number; }; export declare const isQuickSwitcherResultSelectable: (result: TQuickSwitcherResult) => result is Exclude; export declare const QuickSwitcherResult: React.FC<{ readonly result: TQuickSwitcherResult; readonly selected: boolean; }>; export {};