import { getAllRisk } from '../utils';
export declare function useRisk(): import("./async").AsyncRes<typeof getAllRisk>;
export declare function useRiskById(id: string | undefined): {
    error: string | undefined;
    loading: boolean;
    record?: undefined;
    score?: undefined;
    color?: undefined;
    category?: undefined;
    isStrategy?: undefined;
    isVault?: undefined;
} | {
    error: string | undefined;
    loading: boolean;
    record: import("..").ISingleStrategyRisk | import("..").VaultRecord | undefined;
    score: number | undefined;
    color: string | undefined;
    category: string | undefined;
    isStrategy: boolean;
    isVault: boolean;
};
