@azuro-org/sdk
Version:
One-stop solution for building betting dApps on the Azuro Protocol.
15 lines (14 loc) • 587 B
TypeScript
import { type NavigationQuery, type ChainId } from '@azuro-org/toolkit';
import { type UseQueryResult } from '@tanstack/react-query';
import { type SportHub, type QueryParameter } from '../../global';
export type UseNavigationProps = {
filter?: {
sportHub?: SportHub;
sportIds?: Array<string | number>;
};
isLive?: boolean;
chainId?: ChainId;
query?: QueryParameter<NavigationQuery['sports']>;
};
export type UseNavigation = (props?: UseNavigationProps) => UseQueryResult<NavigationQuery['sports']>;
export declare const useNavigation: UseNavigation;