import { type FetchWithValidationOptions } from "./client.js"; import type { UseLegalContractOptions } from "./hooks/use-contract.js"; import type { UseLegalContractAttachmentsOptions } from "./hooks/use-contract-attachments.js"; import type { UseLegalContractSignaturesOptions } from "./hooks/use-contract-signatures.js"; import type { UseLegalContractTemplateOptions } from "./hooks/use-contract-template.js"; import type { UseLegalContractTemplateVersionsOptions } from "./hooks/use-contract-template-versions.js"; import type { UseLegalContractTemplatesOptions } from "./hooks/use-contract-templates.js"; import type { UseLegalContractsOptions } from "./hooks/use-contracts.js"; import type { UseLegalContractNumberSeriesOptions } from "./hooks/use-number-series.js"; import type { UseLegalPoliciesOptions } from "./hooks/use-policies.js"; import type { UseLegalPolicyOptions } from "./hooks/use-policy.js"; import type { UseLegalPolicyAcceptancesOptions } from "./hooks/use-policy-acceptances.js"; import type { UseLegalPolicyAssignmentsOptions } from "./hooks/use-policy-assignments.js"; import type { UseLegalPolicyRulesOptions } from "./hooks/use-policy-rules.js"; import type { UseLegalPolicyVersionsOptions } from "./hooks/use-policy-versions.js"; import { type LegalContractTemplateDefaultFilters, type LegalTermsListFilters, type ResolvePolicyFilters } from "./query-keys.js"; export declare function getLegalContractsQueryOptions(client: FetchWithValidationOptions, options?: UseLegalContractsOptions): import("@tanstack/react-query").OmitKeyof | null | undefined; metadata?: Record | null | undefined; targetKind?: "booking" | "proposal_version" | "program" | "product" | "inventory_item" | "supplier_channel_relationship" | "provider_source_ref" | null | undefined; targetId?: string | null | undefined; targetProvider?: string | null | undefined; targetSourceRef?: string | null | undefined; legacyTransactionOfferId?: string | null | undefined; legacyTransactionOrderId?: string | null | undefined; personFirstName?: string | null | undefined; personLastName?: string | null | undefined; personEmail?: string | null | undefined; personPhone?: string | null | undefined; issuedAt?: string | null | undefined; sentAt?: string | null | undefined; executedAt?: string | null | undefined; expiresAt?: string | null | undefined; voidedAt?: string | null | undefined; }[]; total: number; limit: number; offset: number; }, Error, { data: { language: string; scope: "other" | "customer" | "supplier" | "partner" | "channel"; status: "void" | "draft" | "issued" | "sent" | "signed" | "executed" | "expired"; title: string; id: string; contractNumber: string | null; stageHistory: { stage: "void" | "draft" | "issued" | "sent" | "signed" | "executed" | "expired"; previousStage: "void" | "draft" | "issued" | "sent" | "signed" | "executed" | "expired" | null; transition: "issued" | "sent" | "signed" | "executed" | "created" | "voided"; enteredAt: string; actorId?: string | null | undefined; }[]; templateVersionId: string | null; seriesId: string | null; personId: string | null; organizationId: string | null; supplierId: string | null; channelId: string | null; bookingId: string | null; renderedBodyFormat: "markdown" | "html" | "lexical_json"; renderedBody: string | null; createdAt: string; updatedAt: string; variables?: Record | null | undefined; metadata?: Record | null | undefined; targetKind?: "booking" | "proposal_version" | "program" | "product" | "inventory_item" | "supplier_channel_relationship" | "provider_source_ref" | null | undefined; targetId?: string | null | undefined; targetProvider?: string | null | undefined; targetSourceRef?: string | null | undefined; legacyTransactionOfferId?: string | null | undefined; legacyTransactionOrderId?: string | null | undefined; personFirstName?: string | null | undefined; personLastName?: string | null | undefined; personEmail?: string | null | undefined; personPhone?: string | null | undefined; issuedAt?: string | null | undefined; sentAt?: string | null | undefined; executedAt?: string | null | undefined; expiresAt?: string | null | undefined; voidedAt?: string | null | undefined; }[]; total: number; limit: number; offset: number; }, readonly ["legal", "contracts", import("./query-keys.js").LegalContractsListFilters]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { language: string; scope: "other" | "customer" | "supplier" | "partner" | "channel"; status: "void" | "draft" | "issued" | "sent" | "signed" | "executed" | "expired"; title: string; id: string; contractNumber: string | null; stageHistory: { stage: "void" | "draft" | "issued" | "sent" | "signed" | "executed" | "expired"; previousStage: "void" | "draft" | "issued" | "sent" | "signed" | "executed" | "expired" | null; transition: "issued" | "sent" | "signed" | "executed" | "created" | "voided"; enteredAt: string; actorId?: string | null | undefined; }[]; templateVersionId: string | null; seriesId: string | null; personId: string | null; organizationId: string | null; supplierId: string | null; channelId: string | null; bookingId: string | null; renderedBodyFormat: "markdown" | "html" | "lexical_json"; renderedBody: string | null; createdAt: string; updatedAt: string; variables?: Record | null | undefined; metadata?: Record | null | undefined; targetKind?: "booking" | "proposal_version" | "program" | "product" | "inventory_item" | "supplier_channel_relationship" | "provider_source_ref" | null | undefined; targetId?: string | null | undefined; targetProvider?: string | null | undefined; targetSourceRef?: string | null | undefined; legacyTransactionOfferId?: string | null | undefined; legacyTransactionOrderId?: string | null | undefined; personFirstName?: string | null | undefined; personLastName?: string | null | undefined; personEmail?: string | null | undefined; personPhone?: string | null | undefined; issuedAt?: string | null | undefined; sentAt?: string | null | undefined; executedAt?: string | null | undefined; expiresAt?: string | null | undefined; voidedAt?: string | null | undefined; }[]; total: number; limit: number; offset: number; }, readonly ["legal", "contracts", import("./query-keys.js").LegalContractsListFilters], never> | undefined; } & { queryKey: readonly ["legal", "contracts", import("./query-keys.js").LegalContractsListFilters] & { [dataTagSymbol]: { data: { language: string; scope: "other" | "customer" | "supplier" | "partner" | "channel"; status: "void" | "draft" | "issued" | "sent" | "signed" | "executed" | "expired"; title: string; id: string; contractNumber: string | null; stageHistory: { stage: "void" | "draft" | "issued" | "sent" | "signed" | "executed" | "expired"; previousStage: "void" | "draft" | "issued" | "sent" | "signed" | "executed" | "expired" | null; transition: "issued" | "sent" | "signed" | "executed" | "created" | "voided"; enteredAt: string; actorId?: string | null | undefined; }[]; templateVersionId: string | null; seriesId: string | null; personId: string | null; organizationId: string | null; supplierId: string | null; channelId: string | null; bookingId: string | null; renderedBodyFormat: "markdown" | "html" | "lexical_json"; renderedBody: string | null; createdAt: string; updatedAt: string; variables?: Record | null | undefined; metadata?: Record | null | undefined; targetKind?: "booking" | "proposal_version" | "program" | "product" | "inventory_item" | "supplier_channel_relationship" | "provider_source_ref" | null | undefined; targetId?: string | null | undefined; targetProvider?: string | null | undefined; targetSourceRef?: string | null | undefined; legacyTransactionOfferId?: string | null | undefined; legacyTransactionOrderId?: string | null | undefined; personFirstName?: string | null | undefined; personLastName?: string | null | undefined; personEmail?: string | null | undefined; personPhone?: string | null | undefined; issuedAt?: string | null | undefined; sentAt?: string | null | undefined; executedAt?: string | null | undefined; expiresAt?: string | null | undefined; voidedAt?: string | null | undefined; }[]; total: number; limit: number; offset: number; }; [dataTagErrorSymbol]: Error; }; }; export declare function getLegalContractQueryOptions(client: FetchWithValidationOptions, id: string, _options?: UseLegalContractOptions): import("@tanstack/react-query").OmitKeyof | null | undefined; metadata?: Record | null | undefined; targetKind?: "booking" | "proposal_version" | "program" | "product" | "inventory_item" | "supplier_channel_relationship" | "provider_source_ref" | null | undefined; targetId?: string | null | undefined; targetProvider?: string | null | undefined; targetSourceRef?: string | null | undefined; legacyTransactionOfferId?: string | null | undefined; legacyTransactionOrderId?: string | null | undefined; personFirstName?: string | null | undefined; personLastName?: string | null | undefined; personEmail?: string | null | undefined; personPhone?: string | null | undefined; issuedAt?: string | null | undefined; sentAt?: string | null | undefined; executedAt?: string | null | undefined; expiresAt?: string | null | undefined; voidedAt?: string | null | undefined; }, Error, { language: string; scope: "other" | "customer" | "supplier" | "partner" | "channel"; status: "void" | "draft" | "issued" | "sent" | "signed" | "executed" | "expired"; title: string; id: string; contractNumber: string | null; stageHistory: { stage: "void" | "draft" | "issued" | "sent" | "signed" | "executed" | "expired"; previousStage: "void" | "draft" | "issued" | "sent" | "signed" | "executed" | "expired" | null; transition: "issued" | "sent" | "signed" | "executed" | "created" | "voided"; enteredAt: string; actorId?: string | null | undefined; }[]; templateVersionId: string | null; seriesId: string | null; personId: string | null; organizationId: string | null; supplierId: string | null; channelId: string | null; bookingId: string | null; renderedBodyFormat: "markdown" | "html" | "lexical_json"; renderedBody: string | null; createdAt: string; updatedAt: string; variables?: Record | null | undefined; metadata?: Record | null | undefined; targetKind?: "booking" | "proposal_version" | "program" | "product" | "inventory_item" | "supplier_channel_relationship" | "provider_source_ref" | null | undefined; targetId?: string | null | undefined; targetProvider?: string | null | undefined; targetSourceRef?: string | null | undefined; legacyTransactionOfferId?: string | null | undefined; legacyTransactionOrderId?: string | null | undefined; personFirstName?: string | null | undefined; personLastName?: string | null | undefined; personEmail?: string | null | undefined; personPhone?: string | null | undefined; issuedAt?: string | null | undefined; sentAt?: string | null | undefined; executedAt?: string | null | undefined; expiresAt?: string | null | undefined; voidedAt?: string | null | undefined; }, readonly ["legal", "contracts", string]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ language: string; scope: "other" | "customer" | "supplier" | "partner" | "channel"; status: "void" | "draft" | "issued" | "sent" | "signed" | "executed" | "expired"; title: string; id: string; contractNumber: string | null; stageHistory: { stage: "void" | "draft" | "issued" | "sent" | "signed" | "executed" | "expired"; previousStage: "void" | "draft" | "issued" | "sent" | "signed" | "executed" | "expired" | null; transition: "issued" | "sent" | "signed" | "executed" | "created" | "voided"; enteredAt: string; actorId?: string | null | undefined; }[]; templateVersionId: string | null; seriesId: string | null; personId: string | null; organizationId: string | null; supplierId: string | null; channelId: string | null; bookingId: string | null; renderedBodyFormat: "markdown" | "html" | "lexical_json"; renderedBody: string | null; createdAt: string; updatedAt: string; variables?: Record | null | undefined; metadata?: Record | null | undefined; targetKind?: "booking" | "proposal_version" | "program" | "product" | "inventory_item" | "supplier_channel_relationship" | "provider_source_ref" | null | undefined; targetId?: string | null | undefined; targetProvider?: string | null | undefined; targetSourceRef?: string | null | undefined; legacyTransactionOfferId?: string | null | undefined; legacyTransactionOrderId?: string | null | undefined; personFirstName?: string | null | undefined; personLastName?: string | null | undefined; personEmail?: string | null | undefined; personPhone?: string | null | undefined; issuedAt?: string | null | undefined; sentAt?: string | null | undefined; executedAt?: string | null | undefined; expiresAt?: string | null | undefined; voidedAt?: string | null | undefined; }, readonly ["legal", "contracts", string], never> | undefined; } & { queryKey: readonly ["legal", "contracts", string] & { [dataTagSymbol]: { language: string; scope: "other" | "customer" | "supplier" | "partner" | "channel"; status: "void" | "draft" | "issued" | "sent" | "signed" | "executed" | "expired"; title: string; id: string; contractNumber: string | null; stageHistory: { stage: "void" | "draft" | "issued" | "sent" | "signed" | "executed" | "expired"; previousStage: "void" | "draft" | "issued" | "sent" | "signed" | "executed" | "expired" | null; transition: "issued" | "sent" | "signed" | "executed" | "created" | "voided"; enteredAt: string; actorId?: string | null | undefined; }[]; templateVersionId: string | null; seriesId: string | null; personId: string | null; organizationId: string | null; supplierId: string | null; channelId: string | null; bookingId: string | null; renderedBodyFormat: "markdown" | "html" | "lexical_json"; renderedBody: string | null; createdAt: string; updatedAt: string; variables?: Record | null | undefined; metadata?: Record | null | undefined; targetKind?: "booking" | "proposal_version" | "program" | "product" | "inventory_item" | "supplier_channel_relationship" | "provider_source_ref" | null | undefined; targetId?: string | null | undefined; targetProvider?: string | null | undefined; targetSourceRef?: string | null | undefined; legacyTransactionOfferId?: string | null | undefined; legacyTransactionOrderId?: string | null | undefined; personFirstName?: string | null | undefined; personLastName?: string | null | undefined; personEmail?: string | null | undefined; personPhone?: string | null | undefined; issuedAt?: string | null | undefined; sentAt?: string | null | undefined; executedAt?: string | null | undefined; expiresAt?: string | null | undefined; voidedAt?: string | null | undefined; }; [dataTagErrorSymbol]: Error; }; }; export declare function getLegalContractSignaturesQueryOptions(client: FetchWithValidationOptions, options: UseLegalContractSignaturesOptions): import("@tanstack/react-query").OmitKeyof | null | undefined; }[], Error, { method: "manual" | "other" | "electronic" | "docusign"; signerName: string; id: string; contractId: string; signerEmail: string | null; signerRole: string | null; personId: string | null; provider: string | null; externalReference: string | null; signatureData: string | null; ipAddress: string | null; userAgent: string | null; signedAt: string; createdAt: string; targetKind?: "booking" | "proposal_version" | "program" | "product" | "inventory_item" | "supplier_channel_relationship" | "provider_source_ref" | null | undefined; targetId?: string | null | undefined; targetProvider?: string | null | undefined; targetSourceRef?: string | null | undefined; legacyTransactionOfferId?: string | null | undefined; legacyTransactionOrderId?: string | null | undefined; metadata?: Record | null | undefined; }[], readonly ["legal", "contracts", string, "signatures"]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ method: "manual" | "other" | "electronic" | "docusign"; signerName: string; id: string; contractId: string; signerEmail: string | null; signerRole: string | null; personId: string | null; provider: string | null; externalReference: string | null; signatureData: string | null; ipAddress: string | null; userAgent: string | null; signedAt: string; createdAt: string; targetKind?: "booking" | "proposal_version" | "program" | "product" | "inventory_item" | "supplier_channel_relationship" | "provider_source_ref" | null | undefined; targetId?: string | null | undefined; targetProvider?: string | null | undefined; targetSourceRef?: string | null | undefined; legacyTransactionOfferId?: string | null | undefined; legacyTransactionOrderId?: string | null | undefined; metadata?: Record | null | undefined; }[], readonly ["legal", "contracts", string, "signatures"], never> | undefined; } & { queryKey: readonly ["legal", "contracts", string, "signatures"] & { [dataTagSymbol]: { method: "manual" | "other" | "electronic" | "docusign"; signerName: string; id: string; contractId: string; signerEmail: string | null; signerRole: string | null; personId: string | null; provider: string | null; externalReference: string | null; signatureData: string | null; ipAddress: string | null; userAgent: string | null; signedAt: string; createdAt: string; targetKind?: "booking" | "proposal_version" | "program" | "product" | "inventory_item" | "supplier_channel_relationship" | "provider_source_ref" | null | undefined; targetId?: string | null | undefined; targetProvider?: string | null | undefined; targetSourceRef?: string | null | undefined; legacyTransactionOfferId?: string | null | undefined; legacyTransactionOrderId?: string | null | undefined; metadata?: Record | null | undefined; }[]; [dataTagErrorSymbol]: Error; }; }; export declare function getLegalContractAttachmentsQueryOptions(client: FetchWithValidationOptions, options: UseLegalContractAttachmentsOptions): import("@tanstack/react-query").OmitKeyof | null | undefined; }[], Error, { kind: string; name: string; id: string; contractId: string; mimeType: string | null; fileSize: number | null; storageKey: string | null; checksum: string | null; createdAt: string; targetKind?: "booking" | "proposal_version" | "program" | "product" | "inventory_item" | "supplier_channel_relationship" | "provider_source_ref" | null | undefined; targetId?: string | null | undefined; targetProvider?: string | null | undefined; targetSourceRef?: string | null | undefined; legacyTransactionOfferId?: string | null | undefined; legacyTransactionOrderId?: string | null | undefined; metadata?: Record | null | undefined; }[], readonly ["legal", "contracts", string, "attachments"]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ kind: string; name: string; id: string; contractId: string; mimeType: string | null; fileSize: number | null; storageKey: string | null; checksum: string | null; createdAt: string; targetKind?: "booking" | "proposal_version" | "program" | "product" | "inventory_item" | "supplier_channel_relationship" | "provider_source_ref" | null | undefined; targetId?: string | null | undefined; targetProvider?: string | null | undefined; targetSourceRef?: string | null | undefined; legacyTransactionOfferId?: string | null | undefined; legacyTransactionOrderId?: string | null | undefined; metadata?: Record | null | undefined; }[], readonly ["legal", "contracts", string, "attachments"], never> | undefined; } & { queryKey: readonly ["legal", "contracts", string, "attachments"] & { [dataTagSymbol]: { kind: string; name: string; id: string; contractId: string; mimeType: string | null; fileSize: number | null; storageKey: string | null; checksum: string | null; createdAt: string; targetKind?: "booking" | "proposal_version" | "program" | "product" | "inventory_item" | "supplier_channel_relationship" | "provider_source_ref" | null | undefined; targetId?: string | null | undefined; targetProvider?: string | null | undefined; targetSourceRef?: string | null | undefined; legacyTransactionOfferId?: string | null | undefined; legacyTransactionOrderId?: string | null | undefined; metadata?: Record | null | undefined; }[]; [dataTagErrorSymbol]: Error; }; }; export declare function getLegalContractTemplatesQueryOptions(client: FetchWithValidationOptions, options?: UseLegalContractTemplatesOptions): import("@tanstack/react-query").OmitKeyof | null | undefined; currentVersionId?: string | null | undefined; }[]; total: number; limit: number; offset: number; }, Error, { data: { name: string; slug: string; scope: "other" | "customer" | "supplier" | "partner" | "channel"; language: string; body: string; active: boolean; id: string; description: string | null; isDefault: boolean; createdAt: string; updatedAt: string; channelId?: string | null | undefined; variableSchema?: Record | null | undefined; currentVersionId?: string | null | undefined; }[]; total: number; limit: number; offset: number; }, readonly ["legal", "templates", import("./query-keys.js").LegalContractTemplatesListFilters]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { name: string; slug: string; scope: "other" | "customer" | "supplier" | "partner" | "channel"; language: string; body: string; active: boolean; id: string; description: string | null; isDefault: boolean; createdAt: string; updatedAt: string; channelId?: string | null | undefined; variableSchema?: Record | null | undefined; currentVersionId?: string | null | undefined; }[]; total: number; limit: number; offset: number; }, readonly ["legal", "templates", import("./query-keys.js").LegalContractTemplatesListFilters], never> | undefined; } & { queryKey: readonly ["legal", "templates", import("./query-keys.js").LegalContractTemplatesListFilters] & { [dataTagSymbol]: { data: { name: string; slug: string; scope: "other" | "customer" | "supplier" | "partner" | "channel"; language: string; body: string; active: boolean; id: string; description: string | null; isDefault: boolean; createdAt: string; updatedAt: string; channelId?: string | null | undefined; variableSchema?: Record | null | undefined; currentVersionId?: string | null | undefined; }[]; total: number; limit: number; offset: number; }; [dataTagErrorSymbol]: Error; }; }; export declare function getDefaultLegalContractTemplateQueryOptions(client: FetchWithValidationOptions, options?: LegalContractTemplateDefaultFilters): import("@tanstack/react-query").OmitKeyof | null | undefined; currentVersionId?: string | null | undefined; }, Error, { name: string; slug: string; scope: "other" | "customer" | "supplier" | "partner" | "channel"; language: string; body: string; active: boolean; id: string; description: string | null; isDefault: boolean; createdAt: string; updatedAt: string; channelId?: string | null | undefined; variableSchema?: Record | null | undefined; currentVersionId?: string | null | undefined; }, readonly ["legal", "templates", "default", LegalContractTemplateDefaultFilters]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ name: string; slug: string; scope: "other" | "customer" | "supplier" | "partner" | "channel"; language: string; body: string; active: boolean; id: string; description: string | null; isDefault: boolean; createdAt: string; updatedAt: string; channelId?: string | null | undefined; variableSchema?: Record | null | undefined; currentVersionId?: string | null | undefined; }, readonly ["legal", "templates", "default", LegalContractTemplateDefaultFilters], never> | undefined; } & { queryKey: readonly ["legal", "templates", "default", LegalContractTemplateDefaultFilters] & { [dataTagSymbol]: { name: string; slug: string; scope: "other" | "customer" | "supplier" | "partner" | "channel"; language: string; body: string; active: boolean; id: string; description: string | null; isDefault: boolean; createdAt: string; updatedAt: string; channelId?: string | null | undefined; variableSchema?: Record | null | undefined; currentVersionId?: string | null | undefined; }; [dataTagErrorSymbol]: Error; }; }; export declare function getLegalContractTemplateQueryOptions(client: FetchWithValidationOptions, id: string, _options?: UseLegalContractTemplateOptions): import("@tanstack/react-query").OmitKeyof | null | undefined; currentVersionId?: string | null | undefined; }, Error, { name: string; slug: string; scope: "other" | "customer" | "supplier" | "partner" | "channel"; language: string; body: string; active: boolean; id: string; description: string | null; isDefault: boolean; createdAt: string; updatedAt: string; channelId?: string | null | undefined; variableSchema?: Record | null | undefined; currentVersionId?: string | null | undefined; }, readonly ["legal", "templates", string]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ name: string; slug: string; scope: "other" | "customer" | "supplier" | "partner" | "channel"; language: string; body: string; active: boolean; id: string; description: string | null; isDefault: boolean; createdAt: string; updatedAt: string; channelId?: string | null | undefined; variableSchema?: Record | null | undefined; currentVersionId?: string | null | undefined; }, readonly ["legal", "templates", string], never> | undefined; } & { queryKey: readonly ["legal", "templates", string] & { [dataTagSymbol]: { name: string; slug: string; scope: "other" | "customer" | "supplier" | "partner" | "channel"; language: string; body: string; active: boolean; id: string; description: string | null; isDefault: boolean; createdAt: string; updatedAt: string; channelId?: string | null | undefined; variableSchema?: Record | null | undefined; currentVersionId?: string | null | undefined; }; [dataTagErrorSymbol]: Error; }; }; export declare function getLegalContractTemplateVersionsQueryOptions(client: FetchWithValidationOptions, options: UseLegalContractTemplateVersionsOptions): import("@tanstack/react-query").OmitKeyof | null | undefined; }[], Error, { body: string; id: string; templateId: string; version: number; changelog: string | null; createdBy: string | null; createdAt: string; variableSchema?: Record | null | undefined; }[], readonly ["legal", "templates", string, "versions"]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ body: string; id: string; templateId: string; version: number; changelog: string | null; createdBy: string | null; createdAt: string; variableSchema?: Record | null | undefined; }[], readonly ["legal", "templates", string, "versions"], never> | undefined; } & { queryKey: readonly ["legal", "templates", string, "versions"] & { [dataTagSymbol]: { body: string; id: string; templateId: string; version: number; changelog: string | null; createdBy: string | null; createdAt: string; variableSchema?: Record | null | undefined; }[]; [dataTagErrorSymbol]: Error; }; }; export declare function getLegalContractNumberSeriesQueryOptions(client: FetchWithValidationOptions, options?: UseLegalContractNumberSeriesOptions): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { separator: string; padLength: number; resetStrategy: "never" | "annual" | "monthly"; scope: "other" | "customer" | "supplier" | "partner" | "channel"; isDefault: boolean; active: boolean; name: string; prefix: string; id: string; currentSequence: number; createdAt: string; updatedAt: string; externalProvider?: string | null | undefined; externalConfigKey?: string | null | undefined; resetAt?: string | null | undefined; }[]; }, readonly ["legal", "number-series", import("./query-keys.js").LegalContractNumberSeriesListFilters], never> | undefined; } & { queryKey: readonly ["legal", "number-series", import("./query-keys.js").LegalContractNumberSeriesListFilters] & { [dataTagSymbol]: { data: { separator: string; padLength: number; resetStrategy: "never" | "annual" | "monthly"; scope: "other" | "customer" | "supplier" | "partner" | "channel"; isDefault: boolean; active: boolean; name: string; prefix: string; id: string; currentSequence: number; createdAt: string; updatedAt: string; externalProvider?: string | null | undefined; externalConfigKey?: string | null | undefined; resetAt?: string | null | undefined; }[]; }; [dataTagErrorSymbol]: Error; }; }; export declare function getLegalContractNumberSeriesDetailQueryOptions(client: FetchWithValidationOptions, id: string): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ separator: string; padLength: number; resetStrategy: "never" | "annual" | "monthly"; scope: "other" | "customer" | "supplier" | "partner" | "channel"; isDefault: boolean; active: boolean; name: string; prefix: string; id: string; currentSequence: number; createdAt: string; updatedAt: string; externalProvider?: string | null | undefined; externalConfigKey?: string | null | undefined; resetAt?: string | null | undefined; }, readonly ["legal", "number-series", string], never> | undefined; } & { queryKey: readonly ["legal", "number-series", string] & { [dataTagSymbol]: { separator: string; padLength: number; resetStrategy: "never" | "annual" | "monthly"; scope: "other" | "customer" | "supplier" | "partner" | "channel"; isDefault: boolean; active: boolean; name: string; prefix: string; id: string; currentSequence: number; createdAt: string; updatedAt: string; externalProvider?: string | null | undefined; externalConfigKey?: string | null | undefined; resetAt?: string | null | undefined; }; [dataTagErrorSymbol]: Error; }; }; export declare function getLegalPoliciesQueryOptions(client: FetchWithValidationOptions, options?: UseLegalPoliciesOptions): import("@tanstack/react-query").OmitKeyof | null | undefined; currentVersionId?: string | null | undefined; }[]; total: number; limit: number; offset: number; }, Error, { data: { kind: "other" | "cancellation" | "payment" | "terms_and_conditions" | "privacy" | "refund" | "commission" | "guarantee"; name: string; slug: string; language: string; id: string; description: string | null; createdAt: string; updatedAt: string; metadata?: Record | null | undefined; currentVersionId?: string | null | undefined; }[]; total: number; limit: number; offset: number; }, readonly ["legal", "policies", import("./query-keys.js").LegalPoliciesListFilters]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { kind: "other" | "cancellation" | "payment" | "terms_and_conditions" | "privacy" | "refund" | "commission" | "guarantee"; name: string; slug: string; language: string; id: string; description: string | null; createdAt: string; updatedAt: string; metadata?: Record | null | undefined; currentVersionId?: string | null | undefined; }[]; total: number; limit: number; offset: number; }, readonly ["legal", "policies", import("./query-keys.js").LegalPoliciesListFilters], never> | undefined; } & { queryKey: readonly ["legal", "policies", import("./query-keys.js").LegalPoliciesListFilters] & { [dataTagSymbol]: { data: { kind: "other" | "cancellation" | "payment" | "terms_and_conditions" | "privacy" | "refund" | "commission" | "guarantee"; name: string; slug: string; language: string; id: string; description: string | null; createdAt: string; updatedAt: string; metadata?: Record | null | undefined; currentVersionId?: string | null | undefined; }[]; total: number; limit: number; offset: number; }; [dataTagErrorSymbol]: Error; }; }; export declare function getLegalPolicyQueryOptions(client: FetchWithValidationOptions, id: string, _options?: UseLegalPolicyOptions): import("@tanstack/react-query").OmitKeyof | null | undefined; currentVersionId?: string | null | undefined; }, Error, { kind: "other" | "cancellation" | "payment" | "terms_and_conditions" | "privacy" | "refund" | "commission" | "guarantee"; name: string; slug: string; language: string; id: string; description: string | null; createdAt: string; updatedAt: string; metadata?: Record | null | undefined; currentVersionId?: string | null | undefined; }, readonly ["legal", "policies", string]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ kind: "other" | "cancellation" | "payment" | "terms_and_conditions" | "privacy" | "refund" | "commission" | "guarantee"; name: string; slug: string; language: string; id: string; description: string | null; createdAt: string; updatedAt: string; metadata?: Record | null | undefined; currentVersionId?: string | null | undefined; }, readonly ["legal", "policies", string], never> | undefined; } & { queryKey: readonly ["legal", "policies", string] & { [dataTagSymbol]: { kind: "other" | "cancellation" | "payment" | "terms_and_conditions" | "privacy" | "refund" | "commission" | "guarantee"; name: string; slug: string; language: string; id: string; description: string | null; createdAt: string; updatedAt: string; metadata?: Record | null | undefined; currentVersionId?: string | null | undefined; }; [dataTagErrorSymbol]: Error; }; }; export declare function getLegalPolicyVersionsQueryOptions(client: FetchWithValidationOptions, options: UseLegalPolicyVersionsOptions): import("@tanstack/react-query").OmitKeyof | null | undefined; }[], Error, { title: string; id: string; policyId: string; version: number; status: "draft" | "published" | "retired"; body: string | null; publishedAt: string | null; publishedBy: string | null; createdAt: string; updatedAt: string; retiredAt?: string | null | undefined; metadata?: Record | null | undefined; }[], readonly ["legal", "policies", string, "versions"]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ title: string; id: string; policyId: string; version: number; status: "draft" | "published" | "retired"; body: string | null; publishedAt: string | null; publishedBy: string | null; createdAt: string; updatedAt: string; retiredAt?: string | null | undefined; metadata?: Record | null | undefined; }[], readonly ["legal", "policies", string, "versions"], never> | undefined; } & { queryKey: readonly ["legal", "policies", string, "versions"] & { [dataTagSymbol]: { title: string; id: string; policyId: string; version: number; status: "draft" | "published" | "retired"; body: string | null; publishedAt: string | null; publishedBy: string | null; createdAt: string; updatedAt: string; retiredAt?: string | null | undefined; metadata?: Record | null | undefined; }[]; [dataTagErrorSymbol]: Error; }; }; export declare function getLegalPolicyVersionQueryOptions(client: FetchWithValidationOptions, id: string): import("@tanstack/react-query").OmitKeyof | null | undefined; }, Error, { title: string; id: string; policyId: string; version: number; status: "draft" | "published" | "retired"; body: string | null; publishedAt: string | null; publishedBy: string | null; createdAt: string; updatedAt: string; retiredAt?: string | null | undefined; metadata?: Record | null | undefined; }, readonly ["legal", "policies", "version", string]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ title: string; id: string; policyId: string; version: number; status: "draft" | "published" | "retired"; body: string | null; publishedAt: string | null; publishedBy: string | null; createdAt: string; updatedAt: string; retiredAt?: string | null | undefined; metadata?: Record | null | undefined; }, readonly ["legal", "policies", "version", string], never> | undefined; } & { queryKey: readonly ["legal", "policies", "version", string] & { [dataTagSymbol]: { title: string; id: string; policyId: string; version: number; status: "draft" | "published" | "retired"; body: string | null; publishedAt: string | null; publishedBy: string | null; createdAt: string; updatedAt: string; retiredAt?: string | null | undefined; metadata?: Record | null | undefined; }; [dataTagErrorSymbol]: Error; }; }; export declare function getLegalPolicyRulesQueryOptions(client: FetchWithValidationOptions, options: UseLegalPolicyRulesOptions): import("@tanstack/react-query").OmitKeyof | null | undefined; }[], Error, { ruleType: "custom" | "window" | "percentage" | "flat_amount" | "date_range"; sortOrder: number; id: string; policyVersionId: string; label: string | null; daysBeforeDeparture: number | null; refundPercent: number | null; flatAmountCents: number | null; currency: string | null; createdAt: string; updatedAt: string; refundType?: "cash" | "credit" | "cash_or_credit" | "none" | null | undefined; validFrom?: string | null | undefined; validTo?: string | null | undefined; conditions?: Record | null | undefined; }[], readonly ["legal", "policies", "rules", string]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ ruleType: "custom" | "window" | "percentage" | "flat_amount" | "date_range"; sortOrder: number; id: string; policyVersionId: string; label: string | null; daysBeforeDeparture: number | null; refundPercent: number | null; flatAmountCents: number | null; currency: string | null; createdAt: string; updatedAt: string; refundType?: "cash" | "credit" | "cash_or_credit" | "none" | null | undefined; validFrom?: string | null | undefined; validTo?: string | null | undefined; conditions?: Record | null | undefined; }[], readonly ["legal", "policies", "rules", string], never> | undefined; } & { queryKey: readonly ["legal", "policies", "rules", string] & { [dataTagSymbol]: { ruleType: "custom" | "window" | "percentage" | "flat_amount" | "date_range"; sortOrder: number; id: string; policyVersionId: string; label: string | null; daysBeforeDeparture: number | null; refundPercent: number | null; flatAmountCents: number | null; currency: string | null; createdAt: string; updatedAt: string; refundType?: "cash" | "credit" | "cash_or_credit" | "none" | null | undefined; validFrom?: string | null | undefined; validTo?: string | null | undefined; conditions?: Record | null | undefined; }[]; [dataTagErrorSymbol]: Error; }; }; export declare function getLegalPolicyAssignmentsQueryOptions(client: FetchWithValidationOptions, options?: UseLegalPolicyAssignmentsOptions): import("@tanstack/react-query").OmitKeyof | null | undefined; }[]; }, Error, { data: { policyId: string; scope: "product" | "supplier" | "channel" | "market" | "organization" | "global"; priority: number; id: string; productId: string | null; channelId: string | null; supplierId: string | null; marketId: string | null; organizationId: string | null; createdAt: string; updatedAt: string; validFrom?: string | null | undefined; validTo?: string | null | undefined; metadata?: Record | null | undefined; }[]; }, readonly ["legal", "policies", "assignments", import("./query-keys.js").LegalPolicyAssignmentsListFilters]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { policyId: string; scope: "product" | "supplier" | "channel" | "market" | "organization" | "global"; priority: number; id: string; productId: string | null; channelId: string | null; supplierId: string | null; marketId: string | null; organizationId: string | null; createdAt: string; updatedAt: string; validFrom?: string | null | undefined; validTo?: string | null | undefined; metadata?: Record | null | undefined; }[]; }, readonly ["legal", "policies", "assignments", import("./query-keys.js").LegalPolicyAssignmentsListFilters], never> | undefined; } & { queryKey: readonly ["legal", "policies", "assignments", import("./query-keys.js").LegalPolicyAssignmentsListFilters] & { [dataTagSymbol]: { data: { policyId: string; scope: "product" | "supplier" | "channel" | "market" | "organization" | "global"; priority: number; id: string; productId: string | null; channelId: string | null; supplierId: string | null; marketId: string | null; organizationId: string | null; createdAt: string; updatedAt: string; validFrom?: string | null | undefined; validTo?: string | null | undefined; metadata?: Record | null | undefined; }[]; }; [dataTagErrorSymbol]: Error; }; }; export declare function getLegalPolicyAcceptancesQueryOptions(client: FetchWithValidationOptions, options?: UseLegalPolicyAcceptancesOptions): import("@tanstack/react-query").OmitKeyof | null | undefined; }[]; }, Error, { data: { id: string; policyVersionId: string; personId: string | null; bookingId: string | null; acceptedAt: string; method: "implicit" | "explicit_checkbox" | "signature"; createdAt: string; targetKind?: "booking" | "proposal_version" | "program" | "product" | "inventory_item" | "supplier_channel_relationship" | "provider_source_ref" | null | undefined; targetId?: string | null | undefined; targetProvider?: string | null | undefined; targetSourceRef?: string | null | undefined; legacyTransactionOfferId?: string | null | undefined; legacyTransactionOrderId?: string | null | undefined; acceptedBy?: string | null | undefined; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; metadata?: Record | null | undefined; }[]; }, readonly ["legal", "policies", "acceptances", import("./query-keys.js").LegalPolicyAcceptancesListFilters]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; policyVersionId: string; personId: string | null; bookingId: string | null; acceptedAt: string; method: "implicit" | "explicit_checkbox" | "signature"; createdAt: string; targetKind?: "booking" | "proposal_version" | "program" | "product" | "inventory_item" | "supplier_channel_relationship" | "provider_source_ref" | null | undefined; targetId?: string | null | undefined; targetProvider?: string | null | undefined; targetSourceRef?: string | null | undefined; legacyTransactionOfferId?: string | null | undefined; legacyTransactionOrderId?: string | null | undefined; acceptedBy?: string | null | undefined; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; metadata?: Record | null | undefined; }[]; }, readonly ["legal", "policies", "acceptances", import("./query-keys.js").LegalPolicyAcceptancesListFilters], never> | undefined; } & { queryKey: readonly ["legal", "policies", "acceptances", import("./query-keys.js").LegalPolicyAcceptancesListFilters] & { [dataTagSymbol]: { data: { id: string; policyVersionId: string; personId: string | null; bookingId: string | null; acceptedAt: string; method: "implicit" | "explicit_checkbox" | "signature"; createdAt: string; targetKind?: "booking" | "proposal_version" | "program" | "product" | "inventory_item" | "supplier_channel_relationship" | "provider_source_ref" | null | undefined; targetId?: string | null | undefined; targetProvider?: string | null | undefined; targetSourceRef?: string | null | undefined; legacyTransactionOfferId?: string | null | undefined; legacyTransactionOrderId?: string | null | undefined; acceptedBy?: string | null | undefined; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; metadata?: Record | null | undefined; }[]; }; [dataTagErrorSymbol]: Error; }; }; export declare function getLegalTermsQueryOptions(client: FetchWithValidationOptions, options?: LegalTermsListFilters): import("@tanstack/react-query").OmitKeyof | null | undefined; }[]; total: number; limit: number; offset: number; }, Error, { data: { id: string; termType: "other" | "cancellation" | "payment" | "terms_and_conditions" | "commission" | "guarantee" | "pricing"; title: string; body: string; required: boolean; sortOrder: number; acceptanceStatus: "pending" | "not_required" | "accepted" | "declined"; createdAt: string; updatedAt: string; contractId?: string | null | undefined; policyVersionId?: string | null | undefined; targetKind?: "booking" | "proposal_version" | "program" | "product" | "inventory_item" | "supplier_channel_relationship" | "provider_source_ref" | null | undefined; targetId?: string | null | undefined; targetProvider?: string | null | undefined; targetSourceRef?: string | null | undefined; legacyTransactionOfferId?: string | null | undefined; legacyTransactionOrderId?: string | null | undefined; language?: string | null | undefined; acceptedAt?: string | null | undefined; acceptedBy?: string | null | undefined; metadata?: Record | null | undefined; }[]; total: number; limit: number; offset: number; }, readonly ["legal", "terms", LegalTermsListFilters]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; termType: "other" | "cancellation" | "payment" | "terms_and_conditions" | "commission" | "guarantee" | "pricing"; title: string; body: string; required: boolean; sortOrder: number; acceptanceStatus: "pending" | "not_required" | "accepted" | "declined"; createdAt: string; updatedAt: string; contractId?: string | null | undefined; policyVersionId?: string | null | undefined; targetKind?: "booking" | "proposal_version" | "program" | "product" | "inventory_item" | "supplier_channel_relationship" | "provider_source_ref" | null | undefined; targetId?: string | null | undefined; targetProvider?: string | null | undefined; targetSourceRef?: string | null | undefined; legacyTransactionOfferId?: string | null | undefined; legacyTransactionOrderId?: string | null | undefined; language?: string | null | undefined; acceptedAt?: string | null | undefined; acceptedBy?: string | null | undefined; metadata?: Record | null | undefined; }[]; total: number; limit: number; offset: number; }, readonly ["legal", "terms", LegalTermsListFilters], never> | undefined; } & { queryKey: readonly ["legal", "terms", LegalTermsListFilters] & { [dataTagSymbol]: { data: { id: string; termType: "other" | "cancellation" | "payment" | "terms_and_conditions" | "commission" | "guarantee" | "pricing"; title: string; body: string; required: boolean; sortOrder: number; acceptanceStatus: "pending" | "not_required" | "accepted" | "declined"; createdAt: string; updatedAt: string; contractId?: string | null | undefined; policyVersionId?: string | null | undefined; targetKind?: "booking" | "proposal_version" | "program" | "product" | "inventory_item" | "supplier_channel_relationship" | "provider_source_ref" | null | undefined; targetId?: string | null | undefined; targetProvider?: string | null | undefined; targetSourceRef?: string | null | undefined; legacyTransactionOfferId?: string | null | undefined; legacyTransactionOrderId?: string | null | undefined; language?: string | null | undefined; acceptedAt?: string | null | undefined; acceptedBy?: string | null | undefined; metadata?: Record | null | undefined; }[]; total: number; limit: number; offset: number; }; [dataTagErrorSymbol]: Error; }; }; export declare function getLegalTermQueryOptions(client: FetchWithValidationOptions, id: string): import("@tanstack/react-query").OmitKeyof | null | undefined; }, Error, { id: string; termType: "other" | "cancellation" | "payment" | "terms_and_conditions" | "commission" | "guarantee" | "pricing"; title: string; body: string; required: boolean; sortOrder: number; acceptanceStatus: "pending" | "not_required" | "accepted" | "declined"; createdAt: string; updatedAt: string; contractId?: string | null | undefined; policyVersionId?: string | null | undefined; targetKind?: "booking" | "proposal_version" | "program" | "product" | "inventory_item" | "supplier_channel_relationship" | "provider_source_ref" | null | undefined; targetId?: string | null | undefined; targetProvider?: string | null | undefined; targetSourceRef?: string | null | undefined; legacyTransactionOfferId?: string | null | undefined; legacyTransactionOrderId?: string | null | undefined; language?: string | null | undefined; acceptedAt?: string | null | undefined; acceptedBy?: string | null | undefined; metadata?: Record | null | undefined; }, readonly ["legal", "terms", string]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ id: string; termType: "other" | "cancellation" | "payment" | "terms_and_conditions" | "commission" | "guarantee" | "pricing"; title: string; body: string; required: boolean; sortOrder: number; acceptanceStatus: "pending" | "not_required" | "accepted" | "declined"; createdAt: string; updatedAt: string; contractId?: string | null | undefined; policyVersionId?: string | null | undefined; targetKind?: "booking" | "proposal_version" | "program" | "product" | "inventory_item" | "supplier_channel_relationship" | "provider_source_ref" | null | undefined; targetId?: string | null | undefined; targetProvider?: string | null | undefined; targetSourceRef?: string | null | undefined; legacyTransactionOfferId?: string | null | undefined; legacyTransactionOrderId?: string | null | undefined; language?: string | null | undefined; acceptedAt?: string | null | undefined; acceptedBy?: string | null | undefined; metadata?: Record | null | undefined; }, readonly ["legal", "terms", string], never> | undefined; } & { queryKey: readonly ["legal", "terms", string] & { [dataTagSymbol]: { id: string; termType: "other" | "cancellation" | "payment" | "terms_and_conditions" | "commission" | "guarantee" | "pricing"; title: string; body: string; required: boolean; sortOrder: number; acceptanceStatus: "pending" | "not_required" | "accepted" | "declined"; createdAt: string; updatedAt: string; contractId?: string | null | undefined; policyVersionId?: string | null | undefined; targetKind?: "booking" | "proposal_version" | "program" | "product" | "inventory_item" | "supplier_channel_relationship" | "provider_source_ref" | null | undefined; targetId?: string | null | undefined; targetProvider?: string | null | undefined; targetSourceRef?: string | null | undefined; legacyTransactionOfferId?: string | null | undefined; legacyTransactionOrderId?: string | null | undefined; language?: string | null | undefined; acceptedAt?: string | null | undefined; acceptedBy?: string | null | undefined; metadata?: Record | null | undefined; }; [dataTagErrorSymbol]: Error; }; }; export declare function getResolvePolicyQueryOptions(client: FetchWithValidationOptions, filters: ResolvePolicyFilters): import("@tanstack/react-query").OmitKeyof | null | undefined; currentVersionId?: string | null | undefined; }; assignment: { policyId: string; scope: "product" | "supplier" | "channel" | "market" | "organization" | "global"; priority: number; id: string; productId: string | null; channelId: string | null; supplierId: string | null; marketId: string | null; organizationId: string | null; createdAt: string; updatedAt: string; validFrom?: string | null | undefined; validTo?: string | null | undefined; metadata?: Record | null | undefined; }; version: { title: string; id: string; policyId: string; version: number; status: "draft" | "published" | "retired"; body: string | null; publishedAt: string | null; publishedBy: string | null; createdAt: string; updatedAt: string; retiredAt?: string | null | undefined; metadata?: Record | null | undefined; } | null; rules: { ruleType: "custom" | "window" | "percentage" | "flat_amount" | "date_range"; sortOrder: number; id: string; policyVersionId: string; label: string | null; daysBeforeDeparture: number | null; refundPercent: number | null; flatAmountCents: number | null; currency: string | null; createdAt: string; updatedAt: string; refundType?: "cash" | "credit" | "cash_or_credit" | "none" | null | undefined; validFrom?: string | null | undefined; validTo?: string | null | undefined; conditions?: Record | null | undefined; }[]; } | null; }, Error, { data: { policy: { kind: "other" | "cancellation" | "payment" | "terms_and_conditions" | "privacy" | "refund" | "commission" | "guarantee"; name: string; slug: string; language: string; id: string; description: string | null; createdAt: string; updatedAt: string; metadata?: Record | null | undefined; currentVersionId?: string | null | undefined; }; assignment: { policyId: string; scope: "product" | "supplier" | "channel" | "market" | "organization" | "global"; priority: number; id: string; productId: string | null; channelId: string | null; supplierId: string | null; marketId: string | null; organizationId: string | null; createdAt: string; updatedAt: string; validFrom?: string | null | undefined; validTo?: string | null | undefined; metadata?: Record | null | undefined; }; version: { title: string; id: string; policyId: string; version: number; status: "draft" | "published" | "retired"; body: string | null; publishedAt: string | null; publishedBy: string | null; createdAt: string; updatedAt: string; retiredAt?: string | null | undefined; metadata?: Record | null | undefined; } | null; rules: { ruleType: "custom" | "window" | "percentage" | "flat_amount" | "date_range"; sortOrder: number; id: string; policyVersionId: string; label: string | null; daysBeforeDeparture: number | null; refundPercent: number | null; flatAmountCents: number | null; currency: string | null; createdAt: string; updatedAt: string; refundType?: "cash" | "credit" | "cash_or_credit" | "none" | null | undefined; validFrom?: string | null | undefined; validTo?: string | null | undefined; conditions?: Record | null | undefined; }[]; } | null; }, readonly ["legal", "policies", "resolve", ResolvePolicyFilters]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { policy: { kind: "other" | "cancellation" | "payment" | "terms_and_conditions" | "privacy" | "refund" | "commission" | "guarantee"; name: string; slug: string; language: string; id: string; description: string | null; createdAt: string; updatedAt: string; metadata?: Record | null | undefined; currentVersionId?: string | null | undefined; }; assignment: { policyId: string; scope: "product" | "supplier" | "channel" | "market" | "organization" | "global"; priority: number; id: string; productId: string | null; channelId: string | null; supplierId: string | null; marketId: string | null; organizationId: string | null; createdAt: string; updatedAt: string; validFrom?: string | null | undefined; validTo?: string | null | undefined; metadata?: Record | null | undefined; }; version: { title: string; id: string; policyId: string; version: number; status: "draft" | "published" | "retired"; body: string | null; publishedAt: string | null; publishedBy: string | null; createdAt: string; updatedAt: string; retiredAt?: string | null | undefined; metadata?: Record | null | undefined; } | null; rules: { ruleType: "custom" | "window" | "percentage" | "flat_amount" | "date_range"; sortOrder: number; id: string; policyVersionId: string; label: string | null; daysBeforeDeparture: number | null; refundPercent: number | null; flatAmountCents: number | null; currency: string | null; createdAt: string; updatedAt: string; refundType?: "cash" | "credit" | "cash_or_credit" | "none" | null | undefined; validFrom?: string | null | undefined; validTo?: string | null | undefined; conditions?: Record | null | undefined; }[]; } | null; }, readonly ["legal", "policies", "resolve", ResolvePolicyFilters], never> | undefined; } & { queryKey: readonly ["legal", "policies", "resolve", ResolvePolicyFilters] & { [dataTagSymbol]: { data: { policy: { kind: "other" | "cancellation" | "payment" | "terms_and_conditions" | "privacy" | "refund" | "commission" | "guarantee"; name: string; slug: string; language: string; id: string; description: string | null; createdAt: string; updatedAt: string; metadata?: Record | null | undefined; currentVersionId?: string | null | undefined; }; assignment: { policyId: string; scope: "product" | "supplier" | "channel" | "market" | "organization" | "global"; priority: number; id: string; productId: string | null; channelId: string | null; supplierId: string | null; marketId: string | null; organizationId: string | null; createdAt: string; updatedAt: string; validFrom?: string | null | undefined; validTo?: string | null | undefined; metadata?: Record | null | undefined; }; version: { title: string; id: string; policyId: string; version: number; status: "draft" | "published" | "retired"; body: string | null; publishedAt: string | null; publishedBy: string | null; createdAt: string; updatedAt: string; retiredAt?: string | null | undefined; metadata?: Record | null | undefined; } | null; rules: { ruleType: "custom" | "window" | "percentage" | "flat_amount" | "date_range"; sortOrder: number; id: string; policyVersionId: string; label: string | null; daysBeforeDeparture: number | null; refundPercent: number | null; flatAmountCents: number | null; currency: string | null; createdAt: string; updatedAt: string; refundType?: "cash" | "credit" | "cash_or_credit" | "none" | null | undefined; validFrom?: string | null | undefined; validTo?: string | null | undefined; conditions?: Record | null | undefined; }[]; } | null; }; [dataTagErrorSymbol]: Error; }; };