import { DiscoveredContribution, MountTunnel } from './types'; export interface UsePluginContributionsOptions { /** * Filter to a single mount point. When omitted, the hook returns the * union of every contribution across every mount point so the host * can seed multiple tab strips from one request. */ mountPoint?: string; /** * Polling cadence. Defaults to 60s. Set to `false` to disable; the * hook will only refetch on tunnel reconnect / focus. */ refetchIntervalMs?: number | false; enabled?: boolean; } /** * Fetch plugin contributions from every supplied tunnel. Results are * unioned; if two tunnels report contributions with the same `id`, the * one whose tunnel.label is lexicographically smaller wins (stable, * deterministic, debuggable). Authors should pick unique ids anyway. */ export declare function usePluginContributions(tunnels: MountTunnel[], opts?: UsePluginContributionsOptions): { data: DiscoveredContribution[]; isFetching: boolean; errors: Array<{ tunnel: MountTunnel; error: unknown; }>; refetch: () => void; }; //# sourceMappingURL=useFetchContributions.d.ts.map