export declare function resolve(query: any, input?: any): Promise;