export declare const useReferralCode: () => import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
    id: string;
    code: string;
}, Error>;
export declare const useValidateReferralCode: () => import("@tanstack/react-query/build/legacy/types").UseMutationResult<{
    id: string;
    code: string;
}, Error, string, unknown>;
