import { SwitchAccountArgs } from "../../generated"; import { NETWORK } from "../../types"; interface CacheSwitch extends SwitchAccountArgs { kind: string; address: string; timestamp: Date; } /** * Fetches all switches in the BrightSwitch mongo db. * @returns - All switches in the BrightSwitch mongo db. */ export declare const fetchAllSwitches: (network?: NETWORK) => Promise; /** * Fetches all switches in the BrightSwitch mongo db. * @param address - The address of the switch to fetch. * @returns - The switch that matches the address. */ export declare const fetchSwitchByAddress: (address: string, network?: NETWORK) => Promise; /** * Fetches all switches in the BrightSwitch mongo db. * @param filters - The filters to apply to the query. * @returns - The switches that match the filters. */ export declare const fetchSwitchByFilter: (filters: Partial, network?: NETWORK) => Promise; export {}; //# sourceMappingURL=switch.d.ts.map