filestack-js
Version:
Official JavaScript library for Filestack
28 lines (27 loc) • 719 B
TypeScript
import { Security, Session } from '../client';
import { StoreParams } from './../filelink';
import { UploadTags } from './upload/file';
export type StoreUrlParams = {
session: Session;
url?: string;
storeParams?: StoreParams;
token?: any;
security?: Security;
uploadTags?: UploadTags;
headers?: {
[key: string]: string;
};
workflowIds?: string[];
};
/**
* Store given url with options and
*
* @param session
* @param url
* @param storeOpts
* @param token
* @param security
* @param uploadTags
* @param workflowIds
*/
export declare const storeURL: ({ session, url, storeParams, token, security, uploadTags, headers, workflowIds, }: StoreUrlParams) => Promise<any>;