export interface StorageOptions { disk: string path: string } export default interface Parameters { /** * Returns the parameters. */ all(): { [key: string]: any } /** * Secure the PDF with an owner password. */ ownerPassword(password: string): this /** * Secure the PDF with a user password. */ userPassword(password: string): this /** * Secure the PDF with an owner and user password. */ passwords(owner: string, user: string): this /** * Serve the PDF via the CDN. */ cdn(cdn: boolean): this /** * Upload the PDF directly to the user's configured storage disk. */ storage(options?: Partial|boolean): this }