export declare type LoginFormErrors = {
    invalid_client?: string;
    invalid_credentials?: string;
    default?: string;
};
export declare type RegisterFormErrors = {
    invalid_client?: string;
    email_unavailable?: string;
    invitation_invalid?: string;
    default?: string;
};
export declare type ResetPasswordFormErrors = {
    token_invalid?: string;
    default?: string;
};
export declare type DefaultFormErrors = {
    default?: string;
};
export declare type DefaultErrors = {
    ResourceNotFound?: string;
};
export declare function useErrors<T>(data: any, labels: T): T;
