import { OnProgress } from '../../../../@ones-table/common';
export interface RemoteDocumentOptions {
    server: string;
    token: string;
    docId: string;
    kbId: string;
    resourceToken: string;
}
export declare function uploadResourceByResourceId(options: RemoteDocumentOptions, resource: {
    resourceId: string;
    filename: string;
    mimetype: string;
    size: number;
}): Promise<string | null>;
export declare function uploadResource(options: RemoteDocumentOptions, file: File, onProgress?: OnProgress): Promise<string>;
