import type { Stigmer } from "@stigmer/sdk";
/**
 * Access the {@link Stigmer} SDK client from the nearest
 * {@link StigmerProvider}.
 *
 * Throws if called outside a provider — this surfaces wiring mistakes
 * immediately during development rather than producing silent `null`
 * failures at runtime.
 *
 * @example
 * ```tsx
 * function AgentDetail({ id }: { id: string }) {
 *   const stigmer = useStigmer();
 *   const agent = await stigmer.agent.get(id);
 * }
 * ```
 */
export declare function useStigmer(): Stigmer;
//# sourceMappingURL=hooks.d.ts.map