import { PluginManifest, ResourceFile, ResourceType as TResourceType, ResourceWithFile } from '@plitzi/sdk-shared';
export type TemporalResourceProps = {
    className?: string;
    cdnIdentifier?: string;
    id?: string;
    file?: ResourceFile;
    type?: TResourceType;
    title?: string;
    metadata?: PluginManifest;
    onUploaded?: (resource: ResourceWithFile) => void;
    onUploadCancel?: (file: File) => void;
    onError?: (e: Error) => void;
};
declare const TemporalResource: ({ cdnIdentifier, id, type, title, className, file, metadata, onUploaded, onError: onErrorProp, onUploadCancel }: TemporalResourceProps) => import("react/jsx-runtime").JSX.Element;
export default TemporalResource;
