export declare type ErrorResponse = { error?: string; };