import React, { ReactElement } from 'react';
import { File } from '../types/File';
export interface Props {
    /**
     * The ID of your Unify application
     */
    appId: string;
    /**
     * The ID of the consumer which you want to fetch files from
     */
    consumerId: string;
    /**
     * The JSON Web Token returned from the Create Session call
     */
    jwt: string;
    /**
     * The component that should trigger the File Picker modal on click
     */
    trigger: ReactElement;
    /**
     * The function that gets called when a file is selected
     */
    onSelect: (file: File) => any;
    /**
     * Title shown in the modal
     */
    title?: string;
    /**
     * Subtitle shown in the modal
     */
    subTitle?: string;
}
export declare const EventsContext: React.Context<{
    onSelect: undefined;
}>;
/**
 * The Apideck File Picker component
 */
export declare const FilePicker: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLElement>>;
