import type { MachinesResponse } from "../types/machines.js"; export declare const EMPTY_MACHINES: MachinesResponse; export type SharedMachinesSnapshot = { data: MachinesResponse | null; loading: boolean; error: Error | null; }; /** A refusal that repeating the identical read cannot fix: the caller lacks * `enrollments:read` (403), is signed out (401), or the workspace/feature is * gone (404). Structural so host adapters with their own error types work. */ export declare function isMachinesAccessRefusal(cause: unknown): boolean; export declare function refreshSharedMachinesList(shareKey: string): Promise; export declare function useSharedMachinesList(shareKey: string, load: (signal?: AbortSignal) => Promise, options?: { pollIntervalMs?: number | undefined; enabled?: boolean | undefined; }): SharedMachinesSnapshot & { refresh: () => Promise; };