import type { FetchWithValidationOptions } from "./client.js"; import { type FinanceActionLedgerListInput } from "./operations.js"; export interface UseFinanceActionLedgerOptions extends FinanceActionLedgerListInput { enabled?: boolean; } export declare function getInvoiceActionLedgerQueryOptions(client: FetchWithValidationOptions, invoiceId: string | null | undefined, options?: UseFinanceActionLedgerOptions): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; occurredAt: string; actionName: string; actionVersion: string; actionKind: "reverse" | "read" | "create" | "update" | "delete" | "execute" | "approve" | "reject" | "compensate" | "duplicate"; status: "expired" | "failed" | "cancelled" | "requested" | "awaiting_approval" | "approved" | "denied" | "succeeded" | "reversed" | "compensated" | "superseded"; evaluatedRisk: "high" | "low" | "medium" | "critical"; actorType: string | null; principalType: "user" | "api_key" | "agent" | "workflow" | "system"; principalId: string; principalSubtype: string | null; sessionId: string | null; apiTokenId: string | null; internalRequest: boolean; delegatedByPrincipalType: "user" | "api_key" | "agent" | "workflow" | "system" | null; delegatedByPrincipalId: string | null; delegationId: string | null; callerType: string | null; organizationId: string | null; routeOrToolName: string | null; workflowRunId: string | null; workflowStepId: string | null; correlationId: string | null; causationActionId: string | null; idempotencyScope: string | null; idempotencyKey: string | null; idempotencyFingerprint: string | null; targetType: string; targetId: string; capabilityId: string | null; capabilityVersion: string | null; authorizationSource: string | null; approvalId: string | null; amendsActionId: string | null; createdAt: string; mutationSummary: string | null; }[]; pageInfo: { nextCursor: { occurredAt: string; id: string; } | null; }; }, readonly ["voyant", "finance", "invoices", "detail", string, "action-ledger", import("./query-keys.js").FinanceActionLedgerListFilters], never> | undefined; } & { queryKey: readonly ["voyant", "finance", "invoices", "detail", string, "action-ledger", import("./query-keys.js").FinanceActionLedgerListFilters] & { [dataTagSymbol]: { data: { id: string; occurredAt: string; actionName: string; actionVersion: string; actionKind: "reverse" | "read" | "create" | "update" | "delete" | "execute" | "approve" | "reject" | "compensate" | "duplicate"; status: "expired" | "failed" | "cancelled" | "requested" | "awaiting_approval" | "approved" | "denied" | "succeeded" | "reversed" | "compensated" | "superseded"; evaluatedRisk: "high" | "low" | "medium" | "critical"; actorType: string | null; principalType: "user" | "api_key" | "agent" | "workflow" | "system"; principalId: string; principalSubtype: string | null; sessionId: string | null; apiTokenId: string | null; internalRequest: boolean; delegatedByPrincipalType: "user" | "api_key" | "agent" | "workflow" | "system" | null; delegatedByPrincipalId: string | null; delegationId: string | null; callerType: string | null; organizationId: string | null; routeOrToolName: string | null; workflowRunId: string | null; workflowStepId: string | null; correlationId: string | null; causationActionId: string | null; idempotencyScope: string | null; idempotencyKey: string | null; idempotencyFingerprint: string | null; targetType: string; targetId: string; capabilityId: string | null; capabilityVersion: string | null; authorizationSource: string | null; approvalId: string | null; amendsActionId: string | null; createdAt: string; mutationSummary: string | null; }[]; pageInfo: { nextCursor: { occurredAt: string; id: string; } | null; }; }; [dataTagErrorSymbol]: Error; }; }; export declare function getPaymentSessionActionLedgerQueryOptions(client: FetchWithValidationOptions, paymentSessionId: string | null | undefined, options?: UseFinanceActionLedgerOptions): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; occurredAt: string; actionName: string; actionVersion: string; actionKind: "reverse" | "read" | "create" | "update" | "delete" | "execute" | "approve" | "reject" | "compensate" | "duplicate"; status: "expired" | "failed" | "cancelled" | "requested" | "awaiting_approval" | "approved" | "denied" | "succeeded" | "reversed" | "compensated" | "superseded"; evaluatedRisk: "high" | "low" | "medium" | "critical"; actorType: string | null; principalType: "user" | "api_key" | "agent" | "workflow" | "system"; principalId: string; principalSubtype: string | null; sessionId: string | null; apiTokenId: string | null; internalRequest: boolean; delegatedByPrincipalType: "user" | "api_key" | "agent" | "workflow" | "system" | null; delegatedByPrincipalId: string | null; delegationId: string | null; callerType: string | null; organizationId: string | null; routeOrToolName: string | null; workflowRunId: string | null; workflowStepId: string | null; correlationId: string | null; causationActionId: string | null; idempotencyScope: string | null; idempotencyKey: string | null; idempotencyFingerprint: string | null; targetType: string; targetId: string; capabilityId: string | null; capabilityVersion: string | null; authorizationSource: string | null; approvalId: string | null; amendsActionId: string | null; createdAt: string; mutationSummary: string | null; }[]; pageInfo: { nextCursor: { occurredAt: string; id: string; } | null; }; }, readonly ["voyant", "finance", "payment-sessions", string, "action-ledger", import("./query-keys.js").FinanceActionLedgerListFilters], never> | undefined; } & { queryKey: readonly ["voyant", "finance", "payment-sessions", string, "action-ledger", import("./query-keys.js").FinanceActionLedgerListFilters] & { [dataTagSymbol]: { data: { id: string; occurredAt: string; actionName: string; actionVersion: string; actionKind: "reverse" | "read" | "create" | "update" | "delete" | "execute" | "approve" | "reject" | "compensate" | "duplicate"; status: "expired" | "failed" | "cancelled" | "requested" | "awaiting_approval" | "approved" | "denied" | "succeeded" | "reversed" | "compensated" | "superseded"; evaluatedRisk: "high" | "low" | "medium" | "critical"; actorType: string | null; principalType: "user" | "api_key" | "agent" | "workflow" | "system"; principalId: string; principalSubtype: string | null; sessionId: string | null; apiTokenId: string | null; internalRequest: boolean; delegatedByPrincipalType: "user" | "api_key" | "agent" | "workflow" | "system" | null; delegatedByPrincipalId: string | null; delegationId: string | null; callerType: string | null; organizationId: string | null; routeOrToolName: string | null; workflowRunId: string | null; workflowStepId: string | null; correlationId: string | null; causationActionId: string | null; idempotencyScope: string | null; idempotencyKey: string | null; idempotencyFingerprint: string | null; targetType: string; targetId: string; capabilityId: string | null; capabilityVersion: string | null; authorizationSource: string | null; approvalId: string | null; amendsActionId: string | null; createdAt: string; mutationSummary: string | null; }[]; pageInfo: { nextCursor: { occurredAt: string; id: string; } | null; }; }; [dataTagErrorSymbol]: Error; }; };