export type SupabaseErrorTracker = (errorBody: any) => void; /** * Wraps a Supabase client to automatically track Supabase errors using a provided tracking function. * The wrapper intercepts auth, from, rpc, and storage methods and calls the tracker on error. * * @param client - The Supabase client instance to wrap * @param trackSupabaseError - Function to call with the error body when a Supabase error occurs * @param options - Optional filter to control which errors are tracked * @returns The wrapped Supabase client */ export declare function wrapSupabaseClient(client: T, trackSupabaseError: SupabaseErrorTracker, options?: { filter?: (error: any, context?: { endpoint?: string; }) => boolean; }): T;