declare class PayloadQueue { constructor (path: string, resource: string, onerror?: (err: Error) => void) peek (): Promise<{ payload: { url: string}, path: string } | null> init (): Promise enqueue (req?: {}): Promise remove (path: string): Promise } export default PayloadQueue