import { Request, Response } from 'express';
export type CallbackType = (body?: any, query?: any) => Promise<any>;
export declare function serviceInvoker(req: Request, res: null | Response, callback: CallbackType, schemaName: string, options?: {
    skipConsole?: boolean;
    skipTelegram?: boolean;
}): Promise<string | Response<any, Record<string, any>> | {
    error: any;
    payload: null;
    status?: undefined;
} | {
    status: number;
    error?: undefined;
    payload?: undefined;
}>;
