UNPKG

@hypernetlabs/web-ui

Version:
12 lines 452 B
import { GatewayUrl } from "@hypernetlabs/objects"; interface IState { loading: boolean; error: any; gatewaysMap: Map<GatewayUrl, boolean>; openGatewayIFrame: (gatewayUrl: GatewayUrl) => void; deauthorizeGateway: (gatewayUrl: GatewayUrl) => void; authorizeGateway: (gatewayUrl: GatewayUrl, successCallback?: Function) => void; } export declare function useGateways(): IState; export {}; //# sourceMappingURL=useGateways.d.ts.map