import { CreateWorkflowRunParams, CreateWorkflowRunResult, CancelWorkflowRunParams, CancelWorkflowRunResult } from './types';
export { useStreamWorkflow } from './use-stream-workflow';
/**
 * Hook for creating workflow runs.
 * Returns a mutation for creating a new workflow run.
 *
 * @example
 * ```tsx
 * const createWorkflowRun = useCreateWorkflowRun();
 *
 * // Create a run
 * const { runId } = await createWorkflowRun.mutateAsync({
 *   workflowId: 'my-workflow'
 * });
 * ```
 */
export declare function useCreateWorkflowRun(): import('../lib/use-mutation').MutationState<CreateWorkflowRunResult, Error, CreateWorkflowRunParams>;
/**
 * Hook for canceling workflow runs.
 * Returns a mutation for canceling a running workflow.
 *
 * @example
 * ```tsx
 * const cancelWorkflowRun = useCancelWorkflowRun();
 *
 * // Cancel a run
 * await cancelWorkflowRun.mutateAsync({
 *   workflowId: 'my-workflow',
 *   runId: 'run-123'
 * });
 * ```
 */
export declare function useCancelWorkflowRun(): import('../lib/use-mutation').MutationState<CancelWorkflowRunResult, Error, CancelWorkflowRunParams>;
