export declare type FunctionInterceptor = (...args: any[]) => Promise | boolean | undefined | void; export default function useFunctionInterceptor(interceptor?: FunctionInterceptor): (...args: any) => Promise;