import type { PendingApproval } from "@stigmer/protos/ai/stigmer/agentic/workflowexecution/v1/io_pb";
export interface UsePendingApprovalsOptions {
    /** Organization slug. When empty, the hook does not fetch. */
    readonly org: string | null | undefined;
    /** Maximum results per page. @default 20 */
    readonly pageSize?: number;
    /** Refetch interval in milliseconds. `0` or `false` disables. @default 30000 */
    readonly refetchInterval?: number | false;
}
export interface UsePendingApprovalsReturn {
    readonly approvals: readonly PendingApproval[];
    readonly totalCount: number;
    readonly isLoading: boolean;
    readonly isRefetching: boolean;
    readonly error: Error | null;
    readonly refetch: () => void;
}
/**
 * Data hook that fetches pending human_input approvals for an organization.
 *
 * Returns workflow executions with active human_input tasks awaiting
 * reviewer decisions. Includes task name, requester, and timeout info.
 *
 * Auto-refreshes every 30 seconds by default since pending approvals
 * are time-sensitive.
 *
 * @example
 * ```tsx
 * const { approvals, totalCount, isLoading } = usePendingApprovals({
 *   org: "acme",
 * });
 * ```
 */
export declare function usePendingApprovals(options: UsePendingApprovalsOptions): UsePendingApprovalsReturn;
//# sourceMappingURL=usePendingApprovals.d.ts.map