import { MethodMetadata } from '../../rest'; export interface RestCallProps { pathParameters?: string[]; metadata: MethodMetadata; headers?: any; body?: any; } export declare const useRestCall: ({ pathParameters, metadata, headers, body, }: RestCallProps) => { data: unknown; error: Error | undefined; loading: boolean; getData: (lazyData?: any) => Promise; }; export declare const useSimpleRestCall: ({ pathParameters, metadata, headers, body, }: RestCallProps) => { loading: boolean; data: unknown; error: Error | undefined; cancel: () => void; refetch: () => Promise; }; export declare const useMasaQuery: (name: string, { pathParameters, metadata, headers, body }: RestCallProps, settings?: any) => import("react-query/types/").QueryObserverResult; export declare const useMasaMutation: (name: string, { pathParameters, metadata, headers, body }: RestCallProps, settings?: any) => import("react-query/types/").UseBaseMutationResult;