import type { InferSchema } from '../schema-types.js'; export declare const createCreditGrantBodySchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["ledger_id", "account_id", "funding_account_id", "reference", "amount_minor"]; readonly properties: { readonly ledger_id: { readonly type: "string"; readonly format: "uuid"; }; readonly account_id: { readonly type: "string"; readonly format: "uuid"; }; readonly funding_account_id: { readonly type: "string"; readonly format: "uuid"; }; readonly reference: { readonly type: "string"; readonly pattern: "^(?=.*\\S).+$"; }; readonly external_reference: { readonly type: "string"; readonly pattern: "^(?=.*\\S).+$"; }; readonly amount_minor: { readonly type: "string"; readonly pattern: "^[1-9][0-9]*$"; }; readonly expires_at: { readonly type: "string"; readonly format: "date-time"; }; }; }; export declare const creditGrantResponseSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["id", "tenant_id", "ledger_id", "account_id", "funding_account_id", "asset_id", "reference", "external_reference", "amount_minor", "transaction_id", "created_at", "expires_at", "reversed_by_transaction_id"]; readonly properties: { readonly id: { readonly type: "string"; readonly format: "uuid"; }; readonly tenant_id: { readonly type: "string"; readonly format: "uuid"; }; readonly ledger_id: { readonly type: "string"; readonly format: "uuid"; }; readonly account_id: { readonly type: "string"; readonly format: "uuid"; }; readonly funding_account_id: { readonly type: "string"; readonly format: "uuid"; }; readonly asset_id: { readonly type: "string"; readonly format: "uuid"; }; readonly reference: { readonly type: "string"; }; readonly external_reference: { readonly type: "string"; readonly nullable: true; }; readonly amount_minor: { readonly type: "string"; readonly pattern: "^[0-9]+$"; }; readonly transaction_id: { readonly type: "string"; readonly format: "uuid"; }; readonly created_at: { readonly type: "string"; readonly format: "date-time"; }; readonly expires_at: { readonly type: "string"; readonly format: "date-time"; readonly nullable: true; }; readonly reversed_by_transaction_id: { readonly type: "string"; readonly format: "uuid"; readonly nullable: true; }; }; }; export declare const creditGrantIdParamsSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["id"]; readonly properties: { readonly id: { readonly type: "string"; readonly format: "uuid"; }; }; }; export declare const reverseCreditGrantBodySchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["reference"]; readonly properties: { readonly reference: { readonly type: "string"; readonly pattern: "^(?=.*\\S).+$"; }; }; }; export declare const creditGrantLotResponseSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["grant_id", "reference", "external_reference", "created_at", "expires_at", "granted_minor", "reversed_minor", "consumed_minor", "compensated_minor", "expired_minor", "remaining_minor"]; readonly properties: { readonly grant_id: { readonly type: "string"; readonly format: "uuid"; }; readonly reference: { readonly type: "string"; }; readonly external_reference: { readonly type: "string"; readonly nullable: true; }; readonly created_at: { readonly type: "string"; readonly format: "date-time"; }; readonly expires_at: { readonly type: "string"; readonly format: "date-time"; readonly nullable: true; }; readonly granted_minor: { readonly type: "string"; readonly pattern: "^[0-9]+$"; }; readonly reversed_minor: { readonly type: "string"; readonly pattern: "^[0-9]+$"; }; readonly consumed_minor: { readonly type: "string"; readonly pattern: "^[0-9]+$"; }; readonly compensated_minor: { readonly type: "string"; readonly pattern: "^[0-9]+$"; }; readonly expired_minor: { readonly type: "string"; readonly pattern: "^[0-9]+$"; }; readonly remaining_minor: { readonly type: "string"; readonly pattern: "^[0-9]+$"; }; }; }; export declare const creditBalanceResponseSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["account_id", "asset_id", "ledger_balance_minor", "remaining_minor", "lots"]; readonly properties: { readonly account_id: { readonly type: "string"; readonly format: "uuid"; }; readonly asset_id: { readonly type: "string"; readonly format: "uuid"; }; readonly ledger_balance_minor: { readonly type: "string"; readonly pattern: "^[0-9]+$"; }; readonly remaining_minor: { readonly type: "string"; readonly pattern: "^[0-9]+$"; }; readonly lots: { readonly type: "array"; readonly items: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["grant_id", "reference", "external_reference", "created_at", "expires_at", "granted_minor", "reversed_minor", "consumed_minor", "compensated_minor", "expired_minor", "remaining_minor"]; readonly properties: { readonly grant_id: { readonly type: "string"; readonly format: "uuid"; }; readonly reference: { readonly type: "string"; }; readonly external_reference: { readonly type: "string"; readonly nullable: true; }; readonly created_at: { readonly type: "string"; readonly format: "date-time"; }; readonly expires_at: { readonly type: "string"; readonly format: "date-time"; readonly nullable: true; }; readonly granted_minor: { readonly type: "string"; readonly pattern: "^[0-9]+$"; }; readonly reversed_minor: { readonly type: "string"; readonly pattern: "^[0-9]+$"; }; readonly consumed_minor: { readonly type: "string"; readonly pattern: "^[0-9]+$"; }; readonly compensated_minor: { readonly type: "string"; readonly pattern: "^[0-9]+$"; }; readonly expired_minor: { readonly type: "string"; readonly pattern: "^[0-9]+$"; }; readonly remaining_minor: { readonly type: "string"; readonly pattern: "^[0-9]+$"; }; }; }; }; }; }; export declare const creditGrantLineageResponseSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["allocations"]; readonly properties: { readonly allocations: { readonly type: "array"; readonly items: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["grant_id", "entry_id", "transaction_id", "kind", "amount_minor", "created_at"]; readonly properties: { readonly grant_id: { readonly type: "string"; readonly format: "uuid"; }; readonly entry_id: { readonly type: "string"; readonly format: "uuid"; }; readonly transaction_id: { readonly type: "string"; readonly format: "uuid"; }; readonly kind: { readonly type: "string"; readonly enum: readonly ["CONSUMPTION", "COMPENSATION", "EXPIRATION"]; }; readonly amount_minor: { readonly type: "string"; readonly pattern: "^[1-9][0-9]*$"; }; readonly created_at: { readonly type: "string"; readonly format: "date-time"; }; }; }; }; }; }; export declare const processCreditGrantExpirationsBodySchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["as_of", "limit"]; readonly properties: { readonly as_of: { readonly type: "string"; readonly format: "date-time"; }; readonly limit: { readonly type: "integer"; readonly minimum: 1; readonly maximum: 100; }; }; }; export declare const creditGrantExpirationResponseSchema: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["as_of", "items"]; readonly properties: { readonly as_of: { readonly type: "string"; readonly format: "date-time"; }; readonly items: { readonly type: "array"; readonly items: { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["grant_id", "account_id", "funding_account_id", "expires_at", "amount_minor", "cumulative_expired_minor", "transaction_id"]; readonly properties: { readonly grant_id: { readonly type: "string"; readonly format: "uuid"; }; readonly account_id: { readonly type: "string"; readonly format: "uuid"; }; readonly funding_account_id: { readonly type: "string"; readonly format: "uuid"; }; readonly expires_at: { readonly type: "string"; readonly format: "date-time"; }; readonly amount_minor: { readonly type: "string"; readonly pattern: "^[1-9][0-9]*$"; }; readonly cumulative_expired_minor: { readonly type: "string"; readonly pattern: "^[1-9][0-9]*$"; }; readonly transaction_id: { readonly type: "string"; readonly format: "uuid"; readonly nullable: true; }; }; }; }; }; }; export type CreateCreditGrantRequest = InferSchema; export type ReverseCreditGrantRequest = InferSchema; export type CreditGrantResponse = InferSchema; export type CreditBalanceResponse = InferSchema; export type CreditGrantIdParams = InferSchema; export type CreditGrantLineageResponse = InferSchema; export type ProcessCreditGrantExpirationsRequest = InferSchema; export type CreditGrantExpirationResponse = InferSchema; //# sourceMappingURL=credit-grants.d.ts.map