import { ReactNode } from 'react';
import { MastraClient } from '@mastra/client-js';
export type MastraClientContextType = MastraClient;
export interface MastraClientProviderProps {
    children: ReactNode;
    baseUrl?: string;
    headers?: Record<string, string>;
    /** API route prefix. Defaults to '/api'. Set this to match your server's apiPrefix configuration. */
    apiPrefix?: string;
}
export declare const MastraClientProvider: ({ children, baseUrl, headers, apiPrefix }: MastraClientProviderProps) => import("react/jsx-runtime").JSX.Element;
export declare const useMastraClient: () => MastraClient;
