import { Config } from '@lucidcms/core/types';

interface PluginOptions {
    /** The directory where the files will be uploaded */
    uploadDir: string;
    /** The secret key used to sign the URLs */
    secretKey: string;
    /** Provide a list of mime types that the upload service supports */
    supportedMimeTypes?: string[];
}

declare const lucidLocalStorage: (pluginOptions: PluginOptions) => (config: Config) => Promise<{
    key: string;
    lucid: string;
    config: Config;
}>;

export { lucidLocalStorage as default };
