import * as ky0 from "ky";
import { Options } from "ky";
import * as z$7 from "zod";
import * as z$6 from "zod";
import * as z$5 from "zod";
import * as z$4 from "zod";
import * as z$3 from "zod";
import * as z$2 from "zod";
import * as z$1 from "zod";
import * as z from "zod";

//#region src/core/client.d.ts
declare const PaymobHTTPClient: (secretKey: string, options?: Options) => ky0.KyInstance;
type PaymobHTTPClient = ReturnType<typeof PaymobHTTPClient>;
//#endregion
//#region src/types/intention.d.ts
/**
 * Schema for creating a Payment Intention request.
 */
declare const CreateIntentionRequestSchema: z$7.ZodObject<{
  amount: z$7.ZodNumber;
  currency: z$7.ZodString;
  payment_methods: z$7.ZodEffects<z$7.ZodArray<z$7.ZodUnion<[z$7.ZodNumber, z$7.ZodString]>, "many">, (string | number)[], (string | number)[]>;
  items: z$7.ZodOptional<z$7.ZodArray<z$7.ZodObject<{
    name: z$7.ZodString;
    amount: z$7.ZodNumber;
    description: z$7.ZodString;
    quantity: z$7.ZodNumber;
  }, "strip", z$7.ZodTypeAny, {
    description: string;
    amount: number;
    name: string;
    quantity: number;
  }, {
    description: string;
    amount: number;
    name: string;
    quantity: number;
  }>, "many">>;
  billing_data: z$7.ZodObject<{
    apartment: z$7.ZodOptional<z$7.ZodString>;
    first_name: z$7.ZodString;
    last_name: z$7.ZodString;
    street: z$7.ZodOptional<z$7.ZodString>;
    building: z$7.ZodOptional<z$7.ZodString>;
    phone_number: z$7.ZodString;
    city: z$7.ZodOptional<z$7.ZodString>;
    country: z$7.ZodOptional<z$7.ZodString>;
    email: z$7.ZodOptional<z$7.ZodString>;
    floor: z$7.ZodOptional<z$7.ZodString>;
    state: z$7.ZodOptional<z$7.ZodString>;
  }, "strip", z$7.ZodTypeAny, {
    first_name: string;
    last_name: string;
    phone_number: string;
    email?: string | undefined;
    apartment?: string | undefined;
    street?: string | undefined;
    building?: string | undefined;
    city?: string | undefined;
    country?: string | undefined;
    floor?: string | undefined;
    state?: string | undefined;
  }, {
    first_name: string;
    last_name: string;
    phone_number: string;
    email?: string | undefined;
    apartment?: string | undefined;
    street?: string | undefined;
    building?: string | undefined;
    city?: string | undefined;
    country?: string | undefined;
    floor?: string | undefined;
    state?: string | undefined;
  }>;
  extras: z$7.ZodOptional<z$7.ZodRecord<z$7.ZodString, z$7.ZodAny>>;
  special_reference: z$7.ZodOptional<z$7.ZodString>;
  expiration: z$7.ZodOptional<z$7.ZodNumber>;
  notification_url: z$7.ZodOptional<z$7.ZodString>;
  redirection_url: z$7.ZodOptional<z$7.ZodString>;
}, "strip", z$7.ZodTypeAny, {
  currency: string;
  payment_methods: (string | number)[];
  amount: number;
  billing_data: {
    first_name: string;
    last_name: string;
    phone_number: string;
    email?: string | undefined;
    apartment?: string | undefined;
    street?: string | undefined;
    building?: string | undefined;
    city?: string | undefined;
    country?: string | undefined;
    floor?: string | undefined;
    state?: string | undefined;
  };
  expiration?: number | undefined;
  notification_url?: string | undefined;
  redirection_url?: string | undefined;
  items?: {
    description: string;
    amount: number;
    name: string;
    quantity: number;
  }[] | undefined;
  extras?: Record<string, any> | undefined;
  special_reference?: string | undefined;
}, {
  currency: string;
  payment_methods: (string | number)[];
  amount: number;
  billing_data: {
    first_name: string;
    last_name: string;
    phone_number: string;
    email?: string | undefined;
    apartment?: string | undefined;
    street?: string | undefined;
    building?: string | undefined;
    city?: string | undefined;
    country?: string | undefined;
    floor?: string | undefined;
    state?: string | undefined;
  };
  expiration?: number | undefined;
  notification_url?: string | undefined;
  redirection_url?: string | undefined;
  items?: {
    description: string;
    amount: number;
    name: string;
    quantity: number;
  }[] | undefined;
  extras?: Record<string, any> | undefined;
  special_reference?: string | undefined;
}>;
type CreateIntentionRequest = z$7.infer<typeof CreateIntentionRequestSchema>;
declare const CreateIntentionResponseSchema: z$7.ZodObject<{
  id: z$7.ZodString;
  client_secret: z$7.ZodString;
  amount: z$7.ZodNumber;
  currency: z$7.ZodString;
  status: z$7.ZodString;
  created_at: z$7.ZodString;
}, "strip", z$7.ZodTypeAny, {
  status: string;
  id: string;
  created_at: string;
  currency: string;
  amount: number;
  client_secret: string;
}, {
  status: string;
  id: string;
  created_at: string;
  currency: string;
  amount: number;
  client_secret: string;
}>;
type CreateIntentionResponse = z$7.input<typeof CreateIntentionResponseSchema>;
declare const IntentionSchema: z$7.ZodObject<{
  id: z$7.ZodString;
  client_secret: z$7.ZodString;
  amount: z$7.ZodNumber;
  currency: z$7.ZodString;
  status: z$7.ZodString;
  payment_method_options: z$7.ZodObject<{
    card: z$7.ZodObject<{
      request_three_d_secure: z$7.ZodString;
    }, "strip", z$7.ZodTypeAny, {
      request_three_d_secure: string;
    }, {
      request_three_d_secure: string;
    }>;
  }, "strip", z$7.ZodTypeAny, {
    card: {
      request_three_d_secure: string;
    };
  }, {
    card: {
      request_three_d_secure: string;
    };
  }>;
  created_at: z$7.ZodString;
  metadata: z$7.ZodOptional<z$7.ZodRecord<z$7.ZodString, z$7.ZodUnknown>>;
}, "strip", z$7.ZodTypeAny, {
  status: string;
  id: string;
  created_at: string;
  currency: string;
  amount: number;
  client_secret: string;
  payment_method_options: {
    card: {
      request_three_d_secure: string;
    };
  };
  metadata?: Record<string, unknown> | undefined;
}, {
  status: string;
  id: string;
  created_at: string;
  currency: string;
  amount: number;
  client_secret: string;
  payment_method_options: {
    card: {
      request_three_d_secure: string;
    };
  };
  metadata?: Record<string, unknown> | undefined;
}>;
type Intention = z$7.input<typeof IntentionSchema>;
//#endregion
//#region src/types/paymob-config.d.ts
declare const paymobConfigSchema: z$6.ZodObject<{
  PAYMOB_API_KEY: z$6.ZodString;
  PAYMOB_PUBLIC_KEY: z$6.ZodString;
  PAYMOB_SECRET_KEY: z$6.ZodString;
  PAYMOB_NOTIFICATION_URL: z$6.ZodString;
  PAYMOB_REDIRECTION_URL: z$6.ZodString;
  PAYMOB_PAYMENT_INTEGRATION_IDS: z$6.ZodEffects<z$6.ZodString, number[], string>;
  PAYMOB_HMAC_SECRET: z$6.ZodString;
}, "strip", z$6.ZodTypeAny, {
  PAYMOB_API_KEY: string;
  PAYMOB_PUBLIC_KEY: string;
  PAYMOB_SECRET_KEY: string;
  PAYMOB_NOTIFICATION_URL: string;
  PAYMOB_REDIRECTION_URL: string;
  PAYMOB_PAYMENT_INTEGRATION_IDS: number[];
  PAYMOB_HMAC_SECRET: string;
}, {
  PAYMOB_API_KEY: string;
  PAYMOB_PUBLIC_KEY: string;
  PAYMOB_SECRET_KEY: string;
  PAYMOB_NOTIFICATION_URL: string;
  PAYMOB_REDIRECTION_URL: string;
  PAYMOB_PAYMENT_INTEGRATION_IDS: string;
  PAYMOB_HMAC_SECRET: string;
}>;
type PaymobConfig = z$6.output<typeof paymobConfigSchema>;
//#endregion
//#region src/types/transaction.d.ts
declare const MerchantSchema: z$5.ZodObject<{
  id: z$5.ZodNumber;
  created_at: z$5.ZodString;
  phones: z$5.ZodArray<z$5.ZodString, "many">;
  company_emails: z$5.ZodArray<z$5.ZodString, "many">;
  company_name: z$5.ZodString;
  state: z$5.ZodString;
  country: z$5.ZodString;
  city: z$5.ZodString;
  postal_code: z$5.ZodString;
  street: z$5.ZodString;
}, "strip", z$5.ZodTypeAny, {
  id: number;
  created_at: string;
  street: string;
  city: string;
  country: string;
  state: string;
  phones: string[];
  company_emails: string[];
  company_name: string;
  postal_code: string;
}, {
  id: number;
  created_at: string;
  street: string;
  city: string;
  country: string;
  state: string;
  phones: string[];
  company_emails: string[];
  company_name: string;
  postal_code: string;
}>;
type Merchant = z$5.infer<typeof MerchantSchema>;
declare const ShippingDataSchema: z$5.ZodObject<{
  id: z$5.ZodNumber;
  first_name: z$5.ZodString;
  last_name: z$5.ZodString;
  street: z$5.ZodString;
  building: z$5.ZodString;
  floor: z$5.ZodString;
  apartment: z$5.ZodString;
  city: z$5.ZodString;
  state: z$5.ZodString;
  country: z$5.ZodString;
  email: z$5.ZodString;
  phone_number: z$5.ZodString;
  postal_code: z$5.ZodString;
  extra_description: z$5.ZodString;
  shipping_method: z$5.ZodString;
  order_id: z$5.ZodNumber;
  order: z$5.ZodNumber;
}, "strip", z$5.ZodTypeAny, {
  id: number;
  order: number;
  email: string;
  order_id: number;
  first_name: string;
  last_name: string;
  phone_number: string;
  apartment: string;
  street: string;
  building: string;
  city: string;
  country: string;
  floor: string;
  state: string;
  postal_code: string;
  extra_description: string;
  shipping_method: string;
}, {
  id: number;
  order: number;
  email: string;
  order_id: number;
  first_name: string;
  last_name: string;
  phone_number: string;
  apartment: string;
  street: string;
  building: string;
  city: string;
  country: string;
  floor: string;
  state: string;
  postal_code: string;
  extra_description: string;
  shipping_method: string;
}>;
type ShippingData = z$5.input<typeof ShippingDataSchema>;
declare const OrderSchema: z$5.ZodObject<{
  id: z$5.ZodNumber;
  created_at: z$5.ZodString;
  delivery_needed: z$5.ZodBoolean;
  merchant: z$5.ZodObject<{
    id: z$5.ZodNumber;
    created_at: z$5.ZodString;
    phones: z$5.ZodArray<z$5.ZodString, "many">;
    company_emails: z$5.ZodArray<z$5.ZodString, "many">;
    company_name: z$5.ZodString;
    state: z$5.ZodString;
    country: z$5.ZodString;
    city: z$5.ZodString;
    postal_code: z$5.ZodString;
    street: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    id: number;
    created_at: string;
    street: string;
    city: string;
    country: string;
    state: string;
    phones: string[];
    company_emails: string[];
    company_name: string;
    postal_code: string;
  }, {
    id: number;
    created_at: string;
    street: string;
    city: string;
    country: string;
    state: string;
    phones: string[];
    company_emails: string[];
    company_name: string;
    postal_code: string;
  }>;
  collector: z$5.ZodNullable<z$5.ZodUnknown>;
  amount_cents: z$5.ZodNumber;
  shipping_data: z$5.ZodNullable<z$5.ZodObject<{
    id: z$5.ZodNumber;
    first_name: z$5.ZodString;
    last_name: z$5.ZodString;
    street: z$5.ZodString;
    building: z$5.ZodString;
    floor: z$5.ZodString;
    apartment: z$5.ZodString;
    city: z$5.ZodString;
    state: z$5.ZodString;
    country: z$5.ZodString;
    email: z$5.ZodString;
    phone_number: z$5.ZodString;
    postal_code: z$5.ZodString;
    extra_description: z$5.ZodString;
    shipping_method: z$5.ZodString;
    order_id: z$5.ZodNumber;
    order: z$5.ZodNumber;
  }, "strip", z$5.ZodTypeAny, {
    id: number;
    order: number;
    email: string;
    order_id: number;
    first_name: string;
    last_name: string;
    phone_number: string;
    apartment: string;
    street: string;
    building: string;
    city: string;
    country: string;
    floor: string;
    state: string;
    postal_code: string;
    extra_description: string;
    shipping_method: string;
  }, {
    id: number;
    order: number;
    email: string;
    order_id: number;
    first_name: string;
    last_name: string;
    phone_number: string;
    apartment: string;
    street: string;
    building: string;
    city: string;
    country: string;
    floor: string;
    state: string;
    postal_code: string;
    extra_description: string;
    shipping_method: string;
  }>>;
  shipping_details: z$5.ZodNullable<z$5.ZodUnknown>;
  currency: z$5.ZodString;
  is_payment_locked: z$5.ZodBoolean;
  is_return: z$5.ZodBoolean;
  is_cancel: z$5.ZodBoolean;
  is_returned: z$5.ZodBoolean;
  is_canceled: z$5.ZodBoolean;
  merchant_order_id: z$5.ZodNullable<z$5.ZodString>;
  wallet_notification: z$5.ZodNullable<z$5.ZodUnknown>;
  paid_amount_cents: z$5.ZodNumber;
  notify_user_with_email: z$5.ZodBoolean;
  items: z$5.ZodArray<z$5.ZodUnknown, "many">;
  order_url: z$5.ZodString;
  commission_fees: z$5.ZodNumber;
  delivery_fees_cents: z$5.ZodNumber;
  delivery_vat_cents: z$5.ZodNumber;
  payment_method: z$5.ZodString;
  merchant_staff_tag: z$5.ZodNullable<z$5.ZodString>;
  api_source: z$5.ZodString;
  pickup_data: z$5.ZodNullable<z$5.ZodUnknown>;
  delivery_status: z$5.ZodArray<z$5.ZodUnknown, "many">;
}, "strip", z$5.ZodTypeAny, {
  id: number;
  amount_cents: number;
  created_at: string;
  currency: string;
  items: unknown[];
  delivery_needed: boolean;
  merchant: {
    id: number;
    created_at: string;
    street: string;
    city: string;
    country: string;
    state: string;
    phones: string[];
    company_emails: string[];
    company_name: string;
    postal_code: string;
  };
  shipping_data: {
    id: number;
    order: number;
    email: string;
    order_id: number;
    first_name: string;
    last_name: string;
    phone_number: string;
    apartment: string;
    street: string;
    building: string;
    city: string;
    country: string;
    floor: string;
    state: string;
    postal_code: string;
    extra_description: string;
    shipping_method: string;
  } | null;
  is_payment_locked: boolean;
  is_return: boolean;
  is_cancel: boolean;
  is_returned: boolean;
  is_canceled: boolean;
  merchant_order_id: string | null;
  paid_amount_cents: number;
  notify_user_with_email: boolean;
  order_url: string;
  commission_fees: number;
  delivery_fees_cents: number;
  delivery_vat_cents: number;
  payment_method: string;
  merchant_staff_tag: string | null;
  api_source: string;
  delivery_status: unknown[];
  collector?: unknown;
  shipping_details?: unknown;
  wallet_notification?: unknown;
  pickup_data?: unknown;
}, {
  id: number;
  amount_cents: number;
  created_at: string;
  currency: string;
  items: unknown[];
  delivery_needed: boolean;
  merchant: {
    id: number;
    created_at: string;
    street: string;
    city: string;
    country: string;
    state: string;
    phones: string[];
    company_emails: string[];
    company_name: string;
    postal_code: string;
  };
  shipping_data: {
    id: number;
    order: number;
    email: string;
    order_id: number;
    first_name: string;
    last_name: string;
    phone_number: string;
    apartment: string;
    street: string;
    building: string;
    city: string;
    country: string;
    floor: string;
    state: string;
    postal_code: string;
    extra_description: string;
    shipping_method: string;
  } | null;
  is_payment_locked: boolean;
  is_return: boolean;
  is_cancel: boolean;
  is_returned: boolean;
  is_canceled: boolean;
  merchant_order_id: string | null;
  paid_amount_cents: number;
  notify_user_with_email: boolean;
  order_url: string;
  commission_fees: number;
  delivery_fees_cents: number;
  delivery_vat_cents: number;
  payment_method: string;
  merchant_staff_tag: string | null;
  api_source: string;
  delivery_status: unknown[];
  collector?: unknown;
  shipping_details?: unknown;
  wallet_notification?: unknown;
  pickup_data?: unknown;
}>;
type Order = z$5.input<typeof OrderSchema>;
declare const SourceDataSchema: z$5.ZodObject<{
  type: z$5.ZodString;
  pan: z$5.ZodString;
  sub_type: z$5.ZodString;
}, "strip", z$5.ZodTypeAny, {
  type: string;
  pan: string;
  sub_type: string;
}, {
  type: string;
  pan: string;
  sub_type: string;
}>;
type SourceData = z$5.input<typeof SourceDataSchema>;
declare const ChargebackSchema: z$5.ZodObject<{
  amount_cents: z$5.ZodNumber;
  currency: z$5.ZodString;
  reason_code: z$5.ZodString;
}, "strip", z$5.ZodTypeAny, {
  amount_cents: number;
  currency: string;
  reason_code: string;
}, {
  amount_cents: number;
  currency: string;
  reason_code: string;
}>;
type Chargeback = z$5.input<typeof ChargebackSchema>;
declare const AcquirerSchema: z$5.ZodObject<{
  acquirer: z$5.ZodString;
  merchant_id: z$5.ZodString;
  terminal_id: z$5.ZodString;
  merchant_name: z$5.ZodString;
  merchant_city: z$5.ZodString;
  merchant_country: z$5.ZodString;
  settlement_amount: z$5.ZodString;
  settlement_currency: z$5.ZodString;
  transaction_id: z$5.ZodString;
  auth_code: z$5.ZodString;
  reference_number: z$5.ZodString;
  receipt_no: z$5.ZodString;
  batch_no: z$5.ZodString;
  message: z$5.ZodString;
  response_code: z$5.ZodString;
  pos_entry_mode: z$5.ZodString;
  card_data: z$5.ZodString;
  acq_response_code: z$5.ZodString;
  avs_acq_response_code: z$5.ZodString;
  eci: z$5.ZodString;
  cavv: z$5.ZodString;
  xid: z$5.ZodString;
  network: z$5.ZodString;
  card_type: z$5.ZodString;
  authentication_3ds: z$5.ZodString;
  transaction_status: z$5.ZodString;
  transaction_status_reason: z$5.ZodString;
  transaction_status_info: z$5.ZodString;
  transaction_status_details: z$5.ZodString;
  transaction_status_details_reason: z$5.ZodString;
  transaction_status_details_info: z$5.ZodString;
}, "strip", z$5.ZodTypeAny, {
  message: string;
  merchant_id: string;
  acquirer: string;
  terminal_id: string;
  merchant_name: string;
  merchant_city: string;
  merchant_country: string;
  settlement_amount: string;
  settlement_currency: string;
  transaction_id: string;
  auth_code: string;
  reference_number: string;
  receipt_no: string;
  batch_no: string;
  response_code: string;
  pos_entry_mode: string;
  card_data: string;
  acq_response_code: string;
  avs_acq_response_code: string;
  eci: string;
  cavv: string;
  xid: string;
  network: string;
  card_type: string;
  authentication_3ds: string;
  transaction_status: string;
  transaction_status_reason: string;
  transaction_status_info: string;
  transaction_status_details: string;
  transaction_status_details_reason: string;
  transaction_status_details_info: string;
}, {
  message: string;
  merchant_id: string;
  acquirer: string;
  terminal_id: string;
  merchant_name: string;
  merchant_city: string;
  merchant_country: string;
  settlement_amount: string;
  settlement_currency: string;
  transaction_id: string;
  auth_code: string;
  reference_number: string;
  receipt_no: string;
  batch_no: string;
  response_code: string;
  pos_entry_mode: string;
  card_data: string;
  acq_response_code: string;
  avs_acq_response_code: string;
  eci: string;
  cavv: string;
  xid: string;
  network: string;
  card_type: string;
  authentication_3ds: string;
  transaction_status: string;
  transaction_status_reason: string;
  transaction_status_info: string;
  transaction_status_details: string;
  transaction_status_details_reason: string;
  transaction_status_details_info: string;
}>;
type Acquirer = z$5.input<typeof AcquirerSchema>;
declare const BaseMigsTransactionSchema: z$5.ZodObject<{
  id: z$5.ZodString;
  amount: z$5.ZodNumber;
  currency: z$5.ZodString;
  merchant: z$5.ZodString;
  terminal: z$5.ZodString;
  type: z$5.ZodString;
}, "strip", z$5.ZodTypeAny, {
  type: string;
  id: string;
  currency: string;
  amount: number;
  merchant: string;
  terminal: string;
}, {
  type: string;
  id: string;
  currency: string;
  amount: number;
  merchant: string;
  terminal: string;
}>;
type BaseMigsTransaction = z$5.input<typeof BaseMigsTransactionSchema>;
declare const BaseMigsOrderSchema: z$5.ZodObject<{
  amount: z$5.ZodNumber;
  chargeback: z$5.ZodObject<{
    amount_cents: z$5.ZodNumber;
    currency: z$5.ZodString;
    reason_code: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    amount_cents: number;
    currency: string;
    reason_code: string;
  }, {
    amount_cents: number;
    currency: string;
    reason_code: string;
  }>;
  creationTime: z$5.ZodString;
  currency: z$5.ZodString;
  id: z$5.ZodString;
  merchantId: z$5.ZodString;
  merchantOrderId: z$5.ZodString;
  merchantTransactionId: z$5.ZodString;
  status: z$5.ZodString;
  terminalId: z$5.ZodString;
  totalAuthorizedAmount: z$5.ZodString;
  totalCapturedAmount: z$5.ZodString;
  totalRefundedAmount: z$5.ZodString;
  transaction: z$5.ZodObject<{
    id: z$5.ZodString;
    amount: z$5.ZodNumber;
    currency: z$5.ZodString;
    merchant: z$5.ZodString;
    terminal: z$5.ZodString;
    type: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    type: string;
    id: string;
    currency: string;
    amount: number;
    merchant: string;
    terminal: string;
  }, {
    type: string;
    id: string;
    currency: string;
    amount: number;
    merchant: string;
    terminal: string;
  }>;
}, "strip", z$5.ZodTypeAny, {
  status: string;
  id: string;
  currency: string;
  amount: number;
  chargeback: {
    amount_cents: number;
    currency: string;
    reason_code: string;
  };
  creationTime: string;
  merchantId: string;
  merchantOrderId: string;
  merchantTransactionId: string;
  terminalId: string;
  totalAuthorizedAmount: string;
  totalCapturedAmount: string;
  totalRefundedAmount: string;
  transaction: {
    type: string;
    id: string;
    currency: string;
    amount: number;
    merchant: string;
    terminal: string;
  };
}, {
  status: string;
  id: string;
  currency: string;
  amount: number;
  chargeback: {
    amount_cents: number;
    currency: string;
    reason_code: string;
  };
  creationTime: string;
  merchantId: string;
  merchantOrderId: string;
  merchantTransactionId: string;
  terminalId: string;
  totalAuthorizedAmount: string;
  totalCapturedAmount: string;
  totalRefundedAmount: string;
  transaction: {
    type: string;
    id: string;
    currency: string;
    amount: number;
    merchant: string;
    terminal: string;
  };
}>;
type BaseMigsOrder = z$5.input<typeof BaseMigsOrderSchema>;
declare const BaseTransactionDataSchema: z$5.ZodObject<{
  order: z$5.ZodObject<{
    id: z$5.ZodNumber;
    created_at: z$5.ZodString;
    delivery_needed: z$5.ZodBoolean;
    merchant: z$5.ZodObject<{
      id: z$5.ZodNumber;
      created_at: z$5.ZodString;
      phones: z$5.ZodArray<z$5.ZodString, "many">;
      company_emails: z$5.ZodArray<z$5.ZodString, "many">;
      company_name: z$5.ZodString;
      state: z$5.ZodString;
      country: z$5.ZodString;
      city: z$5.ZodString;
      postal_code: z$5.ZodString;
      street: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }>;
    collector: z$5.ZodNullable<z$5.ZodUnknown>;
    amount_cents: z$5.ZodNumber;
    shipping_data: z$5.ZodNullable<z$5.ZodObject<{
      id: z$5.ZodNumber;
      first_name: z$5.ZodString;
      last_name: z$5.ZodString;
      street: z$5.ZodString;
      building: z$5.ZodString;
      floor: z$5.ZodString;
      apartment: z$5.ZodString;
      city: z$5.ZodString;
      state: z$5.ZodString;
      country: z$5.ZodString;
      email: z$5.ZodString;
      phone_number: z$5.ZodString;
      postal_code: z$5.ZodString;
      extra_description: z$5.ZodString;
      shipping_method: z$5.ZodString;
      order_id: z$5.ZodNumber;
      order: z$5.ZodNumber;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    }, {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    }>>;
    shipping_details: z$5.ZodNullable<z$5.ZodUnknown>;
    currency: z$5.ZodString;
    is_payment_locked: z$5.ZodBoolean;
    is_return: z$5.ZodBoolean;
    is_cancel: z$5.ZodBoolean;
    is_returned: z$5.ZodBoolean;
    is_canceled: z$5.ZodBoolean;
    merchant_order_id: z$5.ZodNullable<z$5.ZodString>;
    wallet_notification: z$5.ZodNullable<z$5.ZodUnknown>;
    paid_amount_cents: z$5.ZodNumber;
    notify_user_with_email: z$5.ZodBoolean;
    items: z$5.ZodArray<z$5.ZodUnknown, "many">;
    order_url: z$5.ZodString;
    commission_fees: z$5.ZodNumber;
    delivery_fees_cents: z$5.ZodNumber;
    delivery_vat_cents: z$5.ZodNumber;
    payment_method: z$5.ZodString;
    merchant_staff_tag: z$5.ZodNullable<z$5.ZodString>;
    api_source: z$5.ZodString;
    pickup_data: z$5.ZodNullable<z$5.ZodUnknown>;
    delivery_status: z$5.ZodArray<z$5.ZodUnknown, "many">;
  }, "strip", z$5.ZodTypeAny, {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  }, {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  }>;
  created_at: z$5.ZodString;
  transaction_processed_callback_responses: z$5.ZodArray<z$5.ZodUnknown, "many">;
  currency: z$5.ZodString;
  source_data: z$5.ZodObject<{
    type: z$5.ZodString;
    pan: z$5.ZodString;
    sub_type: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    type: string;
    pan: string;
    sub_type: string;
  }, {
    type: string;
    pan: string;
    sub_type: string;
  }>;
  api_source: z$5.ZodString;
  is_void: z$5.ZodBoolean;
  is_refund: z$5.ZodBoolean;
  is_capture: z$5.ZodBoolean;
  is_standalone_payment: z$5.ZodBoolean;
  payment_key_claims: z$5.ZodNullable<z$5.ZodUnknown>;
  error_occured: z$5.ZodBoolean;
  is_live: z$5.ZodBoolean;
  other_endpoint_reference: z$5.ZodNullable<z$5.ZodUnknown>;
  refunded_amount_cents: z$5.ZodNumber;
  source_id: z$5.ZodNumber;
  is_captured: z$5.ZodBoolean;
  captured_amount: z$5.ZodNumber;
  merchant_staff_tag: z$5.ZodNullable<z$5.ZodString>;
  updated_at: z$5.ZodString;
  is_settled: z$5.ZodBoolean;
  bill_balanced: z$5.ZodBoolean;
  is_bill: z$5.ZodBoolean;
  owner: z$5.ZodNumber;
  parent_transaction: z$5.ZodNullable<z$5.ZodUnknown>;
  redirect_url: z$5.ZodNullable<z$5.ZodString>;
  merchant: z$5.ZodObject<{
    id: z$5.ZodNumber;
    created_at: z$5.ZodString;
    phones: z$5.ZodArray<z$5.ZodString, "many">;
    company_emails: z$5.ZodArray<z$5.ZodString, "many">;
    company_name: z$5.ZodString;
    state: z$5.ZodString;
    country: z$5.ZodString;
    city: z$5.ZodString;
    postal_code: z$5.ZodString;
    street: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    id: number;
    created_at: string;
    street: string;
    city: string;
    country: string;
    state: string;
    phones: string[];
    company_emails: string[];
    company_name: string;
    postal_code: string;
  }, {
    id: number;
    created_at: string;
    street: string;
    city: string;
    country: string;
    state: string;
    phones: string[];
    company_emails: string[];
    company_name: string;
    postal_code: string;
  }>;
  merchant_external_link: z$5.ZodNullable<z$5.ZodString>;
  acquirer: z$5.ZodObject<{
    acquirer: z$5.ZodString;
    merchant_id: z$5.ZodString;
    terminal_id: z$5.ZodString;
    merchant_name: z$5.ZodString;
    merchant_city: z$5.ZodString;
    merchant_country: z$5.ZodString;
    settlement_amount: z$5.ZodString;
    settlement_currency: z$5.ZodString;
    transaction_id: z$5.ZodString;
    auth_code: z$5.ZodString;
    reference_number: z$5.ZodString;
    receipt_no: z$5.ZodString;
    batch_no: z$5.ZodString;
    message: z$5.ZodString;
    response_code: z$5.ZodString;
    pos_entry_mode: z$5.ZodString;
    card_data: z$5.ZodString;
    acq_response_code: z$5.ZodString;
    avs_acq_response_code: z$5.ZodString;
    eci: z$5.ZodString;
    cavv: z$5.ZodString;
    xid: z$5.ZodString;
    network: z$5.ZodString;
    card_type: z$5.ZodString;
    authentication_3ds: z$5.ZodString;
    transaction_status: z$5.ZodString;
    transaction_status_reason: z$5.ZodString;
    transaction_status_info: z$5.ZodString;
    transaction_status_details: z$5.ZodString;
    transaction_status_details_reason: z$5.ZodString;
    transaction_status_details_info: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    message: string;
    merchant_id: string;
    acquirer: string;
    terminal_id: string;
    merchant_name: string;
    merchant_city: string;
    merchant_country: string;
    settlement_amount: string;
    settlement_currency: string;
    transaction_id: string;
    auth_code: string;
    reference_number: string;
    receipt_no: string;
    batch_no: string;
    response_code: string;
    pos_entry_mode: string;
    card_data: string;
    acq_response_code: string;
    avs_acq_response_code: string;
    eci: string;
    cavv: string;
    xid: string;
    network: string;
    card_type: string;
    authentication_3ds: string;
    transaction_status: string;
    transaction_status_reason: string;
    transaction_status_info: string;
    transaction_status_details: string;
    transaction_status_details_reason: string;
    transaction_status_details_info: string;
  }, {
    message: string;
    merchant_id: string;
    acquirer: string;
    terminal_id: string;
    merchant_name: string;
    merchant_city: string;
    merchant_country: string;
    settlement_amount: string;
    settlement_currency: string;
    transaction_id: string;
    auth_code: string;
    reference_number: string;
    receipt_no: string;
    batch_no: string;
    response_code: string;
    pos_entry_mode: string;
    card_data: string;
    acq_response_code: string;
    avs_acq_response_code: string;
    eci: string;
    cavv: string;
    xid: string;
    network: string;
    card_type: string;
    authentication_3ds: string;
    transaction_status: string;
    transaction_status_reason: string;
    transaction_status_info: string;
    transaction_status_details: string;
    transaction_status_details_reason: string;
    transaction_status_details_info: string;
  }>;
  terminal_id: z$5.ZodNullable<z$5.ZodUnknown>;
  installment: z$5.ZodNullable<z$5.ZodUnknown>;
  order_id: z$5.ZodNumber;
  hmac: z$5.ZodString;
  use_redirection: z$5.ZodBoolean;
  rrn: z$5.ZodString;
  migs_order: z$5.ZodObject<{
    amount: z$5.ZodNumber;
    chargeback: z$5.ZodObject<{
      amount_cents: z$5.ZodNumber;
      currency: z$5.ZodString;
      reason_code: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      amount_cents: number;
      currency: string;
      reason_code: string;
    }, {
      amount_cents: number;
      currency: string;
      reason_code: string;
    }>;
    creationTime: z$5.ZodString;
    currency: z$5.ZodString;
    id: z$5.ZodString;
    merchantId: z$5.ZodString;
    merchantOrderId: z$5.ZodString;
    merchantTransactionId: z$5.ZodString;
    status: z$5.ZodString;
    terminalId: z$5.ZodString;
    totalAuthorizedAmount: z$5.ZodString;
    totalCapturedAmount: z$5.ZodString;
    totalRefundedAmount: z$5.ZodString;
    transaction: z$5.ZodObject<{
      id: z$5.ZodString;
      amount: z$5.ZodNumber;
      currency: z$5.ZodString;
      merchant: z$5.ZodString;
      terminal: z$5.ZodString;
      type: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    }, {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    }>;
  }, "strip", z$5.ZodTypeAny, {
    status: string;
    id: string;
    currency: string;
    amount: number;
    chargeback: {
      amount_cents: number;
      currency: string;
      reason_code: string;
    };
    creationTime: string;
    merchantId: string;
    merchantOrderId: string;
    merchantTransactionId: string;
    terminalId: string;
    totalAuthorizedAmount: string;
    totalCapturedAmount: string;
    totalRefundedAmount: string;
    transaction: {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    };
  }, {
    status: string;
    id: string;
    currency: string;
    amount: number;
    chargeback: {
      amount_cents: number;
      currency: string;
      reason_code: string;
    };
    creationTime: string;
    merchantId: string;
    merchantOrderId: string;
    merchantTransactionId: string;
    terminalId: string;
    totalAuthorizedAmount: string;
    totalCapturedAmount: string;
    totalRefundedAmount: string;
    transaction: {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    };
  }>;
  integration_id: z$5.ZodNumber;
  klass: z$5.ZodString;
  created_by: z$5.ZodString;
  gateway_source_data: z$5.ZodNullable<z$5.ZodUnknown>;
  secure_hash: z$5.ZodString;
  avs_result_code: z$5.ZodString;
  avs_acq_response_code: z$5.ZodString;
  acs_eci: z$5.ZodString;
}, "strip", z$5.ZodTypeAny, {
  is_capture: boolean;
  is_standalone_payment: boolean;
  integration_id: number;
  created_at: string;
  currency: string;
  error_occured: boolean;
  order: {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  };
  owner: number;
  source_data: {
    type: string;
    pan: string;
    sub_type: string;
  };
  order_id: number;
  hmac: string;
  is_live: boolean;
  merchant: {
    id: number;
    created_at: string;
    street: string;
    city: string;
    country: string;
    state: string;
    phones: string[];
    company_emails: string[];
    company_name: string;
    postal_code: string;
  };
  merchant_staff_tag: string | null;
  api_source: string;
  acquirer: {
    message: string;
    merchant_id: string;
    acquirer: string;
    terminal_id: string;
    merchant_name: string;
    merchant_city: string;
    merchant_country: string;
    settlement_amount: string;
    settlement_currency: string;
    transaction_id: string;
    auth_code: string;
    reference_number: string;
    receipt_no: string;
    batch_no: string;
    response_code: string;
    pos_entry_mode: string;
    card_data: string;
    acq_response_code: string;
    avs_acq_response_code: string;
    eci: string;
    cavv: string;
    xid: string;
    network: string;
    card_type: string;
    authentication_3ds: string;
    transaction_status: string;
    transaction_status_reason: string;
    transaction_status_info: string;
    transaction_status_details: string;
    transaction_status_details_reason: string;
    transaction_status_details_info: string;
  };
  avs_acq_response_code: string;
  transaction_processed_callback_responses: unknown[];
  is_void: boolean;
  is_refund: boolean;
  refunded_amount_cents: number;
  source_id: number;
  is_captured: boolean;
  captured_amount: number;
  updated_at: string;
  is_settled: boolean;
  bill_balanced: boolean;
  is_bill: boolean;
  redirect_url: string | null;
  merchant_external_link: string | null;
  use_redirection: boolean;
  rrn: string;
  migs_order: {
    status: string;
    id: string;
    currency: string;
    amount: number;
    chargeback: {
      amount_cents: number;
      currency: string;
      reason_code: string;
    };
    creationTime: string;
    merchantId: string;
    merchantOrderId: string;
    merchantTransactionId: string;
    terminalId: string;
    totalAuthorizedAmount: string;
    totalCapturedAmount: string;
    totalRefundedAmount: string;
    transaction: {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    };
  };
  klass: string;
  created_by: string;
  secure_hash: string;
  avs_result_code: string;
  acs_eci: string;
  terminal_id?: unknown;
  payment_key_claims?: unknown;
  other_endpoint_reference?: unknown;
  parent_transaction?: unknown;
  installment?: unknown;
  gateway_source_data?: unknown;
}, {
  is_capture: boolean;
  is_standalone_payment: boolean;
  integration_id: number;
  created_at: string;
  currency: string;
  error_occured: boolean;
  order: {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  };
  owner: number;
  source_data: {
    type: string;
    pan: string;
    sub_type: string;
  };
  order_id: number;
  hmac: string;
  is_live: boolean;
  merchant: {
    id: number;
    created_at: string;
    street: string;
    city: string;
    country: string;
    state: string;
    phones: string[];
    company_emails: string[];
    company_name: string;
    postal_code: string;
  };
  merchant_staff_tag: string | null;
  api_source: string;
  acquirer: {
    message: string;
    merchant_id: string;
    acquirer: string;
    terminal_id: string;
    merchant_name: string;
    merchant_city: string;
    merchant_country: string;
    settlement_amount: string;
    settlement_currency: string;
    transaction_id: string;
    auth_code: string;
    reference_number: string;
    receipt_no: string;
    batch_no: string;
    response_code: string;
    pos_entry_mode: string;
    card_data: string;
    acq_response_code: string;
    avs_acq_response_code: string;
    eci: string;
    cavv: string;
    xid: string;
    network: string;
    card_type: string;
    authentication_3ds: string;
    transaction_status: string;
    transaction_status_reason: string;
    transaction_status_info: string;
    transaction_status_details: string;
    transaction_status_details_reason: string;
    transaction_status_details_info: string;
  };
  avs_acq_response_code: string;
  transaction_processed_callback_responses: unknown[];
  is_void: boolean;
  is_refund: boolean;
  refunded_amount_cents: number;
  source_id: number;
  is_captured: boolean;
  captured_amount: number;
  updated_at: string;
  is_settled: boolean;
  bill_balanced: boolean;
  is_bill: boolean;
  redirect_url: string | null;
  merchant_external_link: string | null;
  use_redirection: boolean;
  rrn: string;
  migs_order: {
    status: string;
    id: string;
    currency: string;
    amount: number;
    chargeback: {
      amount_cents: number;
      currency: string;
      reason_code: string;
    };
    creationTime: string;
    merchantId: string;
    merchantOrderId: string;
    merchantTransactionId: string;
    terminalId: string;
    totalAuthorizedAmount: string;
    totalCapturedAmount: string;
    totalRefundedAmount: string;
    transaction: {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    };
  };
  klass: string;
  created_by: string;
  secure_hash: string;
  avs_result_code: string;
  acs_eci: string;
  terminal_id?: unknown;
  payment_key_claims?: unknown;
  other_endpoint_reference?: unknown;
  parent_transaction?: unknown;
  installment?: unknown;
  gateway_source_data?: unknown;
}>;
type BaseTransactionData = z$5.input<typeof BaseTransactionDataSchema>;
declare const BaseTransactionResponseSchema: z$5.ZodObject<{
  id: z$5.ZodNumber;
  pending: z$5.ZodBoolean;
  amount_cents: z$5.ZodNumber;
  success: z$5.ZodBoolean;
  is_auth: z$5.ZodBoolean;
  is_capture: z$5.ZodBoolean;
  is_standalone_payment: z$5.ZodBoolean;
  is_void: z$5.ZodBoolean;
  is_refund: z$5.ZodBoolean;
  is_voided: z$5.ZodBoolean;
  is_refunded: z$5.ZodBoolean;
  is_3d_secure: z$5.ZodBoolean;
  integration_id: z$5.ZodNumber;
  profile_id: z$5.ZodNumber;
  has_parent_transaction: z$5.ZodBoolean;
  order: z$5.ZodObject<{
    id: z$5.ZodNumber;
    created_at: z$5.ZodString;
    delivery_needed: z$5.ZodBoolean;
    merchant: z$5.ZodObject<{
      id: z$5.ZodNumber;
      created_at: z$5.ZodString;
      phones: z$5.ZodArray<z$5.ZodString, "many">;
      company_emails: z$5.ZodArray<z$5.ZodString, "many">;
      company_name: z$5.ZodString;
      state: z$5.ZodString;
      country: z$5.ZodString;
      city: z$5.ZodString;
      postal_code: z$5.ZodString;
      street: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }>;
    collector: z$5.ZodNullable<z$5.ZodUnknown>;
    amount_cents: z$5.ZodNumber;
    shipping_data: z$5.ZodNullable<z$5.ZodObject<{
      id: z$5.ZodNumber;
      first_name: z$5.ZodString;
      last_name: z$5.ZodString;
      street: z$5.ZodString;
      building: z$5.ZodString;
      floor: z$5.ZodString;
      apartment: z$5.ZodString;
      city: z$5.ZodString;
      state: z$5.ZodString;
      country: z$5.ZodString;
      email: z$5.ZodString;
      phone_number: z$5.ZodString;
      postal_code: z$5.ZodString;
      extra_description: z$5.ZodString;
      shipping_method: z$5.ZodString;
      order_id: z$5.ZodNumber;
      order: z$5.ZodNumber;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    }, {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    }>>;
    shipping_details: z$5.ZodNullable<z$5.ZodUnknown>;
    currency: z$5.ZodString;
    is_payment_locked: z$5.ZodBoolean;
    is_return: z$5.ZodBoolean;
    is_cancel: z$5.ZodBoolean;
    is_returned: z$5.ZodBoolean;
    is_canceled: z$5.ZodBoolean;
    merchant_order_id: z$5.ZodNullable<z$5.ZodString>;
    wallet_notification: z$5.ZodNullable<z$5.ZodUnknown>;
    paid_amount_cents: z$5.ZodNumber;
    notify_user_with_email: z$5.ZodBoolean;
    items: z$5.ZodArray<z$5.ZodUnknown, "many">;
    order_url: z$5.ZodString;
    commission_fees: z$5.ZodNumber;
    delivery_fees_cents: z$5.ZodNumber;
    delivery_vat_cents: z$5.ZodNumber;
    payment_method: z$5.ZodString;
    merchant_staff_tag: z$5.ZodNullable<z$5.ZodString>;
    api_source: z$5.ZodString;
    pickup_data: z$5.ZodNullable<z$5.ZodUnknown>;
    delivery_status: z$5.ZodArray<z$5.ZodUnknown, "many">;
  }, "strip", z$5.ZodTypeAny, {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  }, {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  }>;
  created_at: z$5.ZodString;
  transaction_processed_callback_responses: z$5.ZodArray<z$5.ZodUnknown, "many">;
  currency: z$5.ZodString;
  source_data: z$5.ZodObject<{
    type: z$5.ZodString;
    pan: z$5.ZodString;
    sub_type: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    type: string;
    pan: string;
    sub_type: string;
  }, {
    type: string;
    pan: string;
    sub_type: string;
  }>;
  api_source: z$5.ZodString;
  terminal_id: z$5.ZodNullable<z$5.ZodUnknown>;
  merchant_commission: z$5.ZodNumber;
  installment: z$5.ZodNullable<z$5.ZodUnknown>;
  error_occured: z$5.ZodBoolean;
  refunded_amount_cents: z$5.ZodNumber;
  captured_amount: z$5.ZodNumber;
  updated_at: z$5.ZodString;
  is_settled: z$5.ZodBoolean;
  bill_balanced: z$5.ZodBoolean;
  is_bill: z$5.ZodBoolean;
  owner: z$5.ZodNumber;
  parent_transaction: z$5.ZodNumber;
}, "strip", z$5.ZodTypeAny, {
  id: number;
  pending: boolean;
  amount_cents: number;
  success: boolean;
  is_auth: boolean;
  is_capture: boolean;
  is_standalone_payment: boolean;
  is_voided: boolean;
  is_refunded: boolean;
  is_3d_secure: boolean;
  integration_id: number;
  has_parent_transaction: boolean;
  created_at: string;
  currency: string;
  error_occured: boolean;
  order: {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  };
  owner: number;
  source_data: {
    type: string;
    pan: string;
    sub_type: string;
  };
  api_source: string;
  transaction_processed_callback_responses: unknown[];
  is_void: boolean;
  is_refund: boolean;
  refunded_amount_cents: number;
  captured_amount: number;
  updated_at: string;
  is_settled: boolean;
  bill_balanced: boolean;
  is_bill: boolean;
  parent_transaction: number;
  profile_id: number;
  merchant_commission: number;
  terminal_id?: unknown;
  installment?: unknown;
}, {
  id: number;
  pending: boolean;
  amount_cents: number;
  success: boolean;
  is_auth: boolean;
  is_capture: boolean;
  is_standalone_payment: boolean;
  is_voided: boolean;
  is_refunded: boolean;
  is_3d_secure: boolean;
  integration_id: number;
  has_parent_transaction: boolean;
  created_at: string;
  currency: string;
  error_occured: boolean;
  order: {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  };
  owner: number;
  source_data: {
    type: string;
    pan: string;
    sub_type: string;
  };
  api_source: string;
  transaction_processed_callback_responses: unknown[];
  is_void: boolean;
  is_refund: boolean;
  refunded_amount_cents: number;
  captured_amount: number;
  updated_at: string;
  is_settled: boolean;
  bill_balanced: boolean;
  is_bill: boolean;
  parent_transaction: number;
  profile_id: number;
  merchant_commission: number;
  terminal_id?: unknown;
  installment?: unknown;
}>;
type BaseTransactionResponse = z$5.input<typeof BaseTransactionResponseSchema>;
declare const RefundRequestSchema: z$5.ZodObject<{
  transaction_id: z$5.ZodString;
  amount_cents: z$5.ZodNumber;
  reason: z$5.ZodOptional<z$5.ZodString>;
}, "strip", z$5.ZodTypeAny, {
  amount_cents: number;
  transaction_id: string;
  reason?: string | undefined;
}, {
  amount_cents: number;
  transaction_id: string;
  reason?: string | undefined;
}>;
type RefundRequest = z$5.input<typeof RefundRequestSchema>;
declare const CaptureRequestSchema: z$5.ZodObject<{
  transaction_id: z$5.ZodString;
  amount_cents: z$5.ZodNumber;
}, "strip", z$5.ZodTypeAny, {
  amount_cents: number;
  transaction_id: string;
}, {
  amount_cents: number;
  transaction_id: string;
}>;
type CaptureRequest = z$5.input<typeof CaptureRequestSchema>;
declare const VoidRequestSchema: z$5.ZodObject<{
  transaction_id: z$5.ZodString;
}, "strip", z$5.ZodTypeAny, {
  transaction_id: string;
}, {
  transaction_id: string;
}>;
type VoidRequest = z$5.input<typeof VoidRequestSchema>;
declare const TransactionInquiryRequestSchema: z$5.ZodObject<{
  transaction_id: z$5.ZodString;
}, "strip", z$5.ZodTypeAny, {
  transaction_id: string;
}, {
  transaction_id: string;
}>;
type TransactionInquiryRequest = z$5.input<typeof TransactionInquiryRequestSchema>;
declare const RefundTransactionDataSchema: z$5.ZodObject<{
  transaction_id: z$5.ZodString;
  parent_id: z$5.ZodString;
  order: z$5.ZodObject<{
    id: z$5.ZodNumber;
    created_at: z$5.ZodString;
    delivery_needed: z$5.ZodBoolean;
    merchant: z$5.ZodObject<{
      id: z$5.ZodNumber;
      created_at: z$5.ZodString;
      phones: z$5.ZodArray<z$5.ZodString, "many">;
      company_emails: z$5.ZodArray<z$5.ZodString, "many">;
      company_name: z$5.ZodString;
      state: z$5.ZodString;
      country: z$5.ZodString;
      city: z$5.ZodString;
      postal_code: z$5.ZodString;
      street: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }>;
    collector: z$5.ZodNullable<z$5.ZodUnknown>;
    amount_cents: z$5.ZodNumber;
    shipping_data: z$5.ZodNullable<z$5.ZodObject<{
      id: z$5.ZodNumber;
      first_name: z$5.ZodString;
      last_name: z$5.ZodString;
      street: z$5.ZodString;
      building: z$5.ZodString;
      floor: z$5.ZodString;
      apartment: z$5.ZodString;
      city: z$5.ZodString;
      state: z$5.ZodString;
      country: z$5.ZodString;
      email: z$5.ZodString;
      phone_number: z$5.ZodString;
      postal_code: z$5.ZodString;
      extra_description: z$5.ZodString;
      shipping_method: z$5.ZodString;
      order_id: z$5.ZodNumber;
      order: z$5.ZodNumber;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    }, {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    }>>;
    shipping_details: z$5.ZodNullable<z$5.ZodUnknown>;
    currency: z$5.ZodString;
    is_payment_locked: z$5.ZodBoolean;
    is_return: z$5.ZodBoolean;
    is_cancel: z$5.ZodBoolean;
    is_returned: z$5.ZodBoolean;
    is_canceled: z$5.ZodBoolean;
    merchant_order_id: z$5.ZodNullable<z$5.ZodString>;
    wallet_notification: z$5.ZodNullable<z$5.ZodUnknown>;
    paid_amount_cents: z$5.ZodNumber;
    notify_user_with_email: z$5.ZodBoolean;
    items: z$5.ZodArray<z$5.ZodUnknown, "many">;
    order_url: z$5.ZodString;
    commission_fees: z$5.ZodNumber;
    delivery_fees_cents: z$5.ZodNumber;
    delivery_vat_cents: z$5.ZodNumber;
    payment_method: z$5.ZodString;
    merchant_staff_tag: z$5.ZodNullable<z$5.ZodString>;
    api_source: z$5.ZodString;
    pickup_data: z$5.ZodNullable<z$5.ZodUnknown>;
    delivery_status: z$5.ZodArray<z$5.ZodUnknown, "many">;
  }, "strip", z$5.ZodTypeAny, {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  }, {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  }>;
  created_at: z$5.ZodString;
  transaction_processed_callback_responses: z$5.ZodArray<z$5.ZodUnknown, "many">;
  currency: z$5.ZodString;
  source_data: z$5.ZodObject<{
    type: z$5.ZodString;
    pan: z$5.ZodString;
    sub_type: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    type: string;
    pan: string;
    sub_type: string;
  }, {
    type: string;
    pan: string;
    sub_type: string;
  }>;
  api_source: z$5.ZodString;
  is_void: z$5.ZodBoolean;
  is_refund: z$5.ZodBoolean;
  is_capture: z$5.ZodBoolean;
  is_standalone_payment: z$5.ZodBoolean;
  payment_key_claims: z$5.ZodNullable<z$5.ZodUnknown>;
  error_occured: z$5.ZodBoolean;
  is_live: z$5.ZodBoolean;
  other_endpoint_reference: z$5.ZodNullable<z$5.ZodUnknown>;
  refunded_amount_cents: z$5.ZodNumber;
  source_id: z$5.ZodNumber;
  is_captured: z$5.ZodBoolean;
  captured_amount: z$5.ZodNumber;
  merchant_staff_tag: z$5.ZodNullable<z$5.ZodString>;
  updated_at: z$5.ZodString;
  is_settled: z$5.ZodBoolean;
  bill_balanced: z$5.ZodBoolean;
  is_bill: z$5.ZodBoolean;
  owner: z$5.ZodNumber;
  parent_transaction: z$5.ZodNullable<z$5.ZodUnknown>;
  redirect_url: z$5.ZodNullable<z$5.ZodString>;
  merchant: z$5.ZodObject<{
    id: z$5.ZodNumber;
    created_at: z$5.ZodString;
    phones: z$5.ZodArray<z$5.ZodString, "many">;
    company_emails: z$5.ZodArray<z$5.ZodString, "many">;
    company_name: z$5.ZodString;
    state: z$5.ZodString;
    country: z$5.ZodString;
    city: z$5.ZodString;
    postal_code: z$5.ZodString;
    street: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    id: number;
    created_at: string;
    street: string;
    city: string;
    country: string;
    state: string;
    phones: string[];
    company_emails: string[];
    company_name: string;
    postal_code: string;
  }, {
    id: number;
    created_at: string;
    street: string;
    city: string;
    country: string;
    state: string;
    phones: string[];
    company_emails: string[];
    company_name: string;
    postal_code: string;
  }>;
  merchant_external_link: z$5.ZodNullable<z$5.ZodString>;
  acquirer: z$5.ZodObject<{
    acquirer: z$5.ZodString;
    merchant_id: z$5.ZodString;
    terminal_id: z$5.ZodString;
    merchant_name: z$5.ZodString;
    merchant_city: z$5.ZodString;
    merchant_country: z$5.ZodString;
    settlement_amount: z$5.ZodString;
    settlement_currency: z$5.ZodString;
    transaction_id: z$5.ZodString;
    auth_code: z$5.ZodString;
    reference_number: z$5.ZodString;
    receipt_no: z$5.ZodString;
    batch_no: z$5.ZodString;
    message: z$5.ZodString;
    response_code: z$5.ZodString;
    pos_entry_mode: z$5.ZodString;
    card_data: z$5.ZodString;
    acq_response_code: z$5.ZodString;
    avs_acq_response_code: z$5.ZodString;
    eci: z$5.ZodString;
    cavv: z$5.ZodString;
    xid: z$5.ZodString;
    network: z$5.ZodString;
    card_type: z$5.ZodString;
    authentication_3ds: z$5.ZodString;
    transaction_status: z$5.ZodString;
    transaction_status_reason: z$5.ZodString;
    transaction_status_info: z$5.ZodString;
    transaction_status_details: z$5.ZodString;
    transaction_status_details_reason: z$5.ZodString;
    transaction_status_details_info: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    message: string;
    merchant_id: string;
    acquirer: string;
    terminal_id: string;
    merchant_name: string;
    merchant_city: string;
    merchant_country: string;
    settlement_amount: string;
    settlement_currency: string;
    transaction_id: string;
    auth_code: string;
    reference_number: string;
    receipt_no: string;
    batch_no: string;
    response_code: string;
    pos_entry_mode: string;
    card_data: string;
    acq_response_code: string;
    avs_acq_response_code: string;
    eci: string;
    cavv: string;
    xid: string;
    network: string;
    card_type: string;
    authentication_3ds: string;
    transaction_status: string;
    transaction_status_reason: string;
    transaction_status_info: string;
    transaction_status_details: string;
    transaction_status_details_reason: string;
    transaction_status_details_info: string;
  }, {
    message: string;
    merchant_id: string;
    acquirer: string;
    terminal_id: string;
    merchant_name: string;
    merchant_city: string;
    merchant_country: string;
    settlement_amount: string;
    settlement_currency: string;
    transaction_id: string;
    auth_code: string;
    reference_number: string;
    receipt_no: string;
    batch_no: string;
    response_code: string;
    pos_entry_mode: string;
    card_data: string;
    acq_response_code: string;
    avs_acq_response_code: string;
    eci: string;
    cavv: string;
    xid: string;
    network: string;
    card_type: string;
    authentication_3ds: string;
    transaction_status: string;
    transaction_status_reason: string;
    transaction_status_info: string;
    transaction_status_details: string;
    transaction_status_details_reason: string;
    transaction_status_details_info: string;
  }>;
  terminal_id: z$5.ZodNullable<z$5.ZodUnknown>;
  installment: z$5.ZodNullable<z$5.ZodUnknown>;
  order_id: z$5.ZodNumber;
  hmac: z$5.ZodString;
  use_redirection: z$5.ZodBoolean;
  rrn: z$5.ZodString;
  migs_order: z$5.ZodObject<{
    amount: z$5.ZodNumber;
    chargeback: z$5.ZodObject<{
      amount_cents: z$5.ZodNumber;
      currency: z$5.ZodString;
      reason_code: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      amount_cents: number;
      currency: string;
      reason_code: string;
    }, {
      amount_cents: number;
      currency: string;
      reason_code: string;
    }>;
    creationTime: z$5.ZodString;
    currency: z$5.ZodString;
    id: z$5.ZodString;
    merchantId: z$5.ZodString;
    merchantOrderId: z$5.ZodString;
    merchantTransactionId: z$5.ZodString;
    status: z$5.ZodString;
    terminalId: z$5.ZodString;
    totalAuthorizedAmount: z$5.ZodString;
    totalCapturedAmount: z$5.ZodString;
    totalRefundedAmount: z$5.ZodString;
    transaction: z$5.ZodObject<{
      id: z$5.ZodString;
      amount: z$5.ZodNumber;
      currency: z$5.ZodString;
      merchant: z$5.ZodString;
      terminal: z$5.ZodString;
      type: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    }, {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    }>;
  }, "strip", z$5.ZodTypeAny, {
    status: string;
    id: string;
    currency: string;
    amount: number;
    chargeback: {
      amount_cents: number;
      currency: string;
      reason_code: string;
    };
    creationTime: string;
    merchantId: string;
    merchantOrderId: string;
    merchantTransactionId: string;
    terminalId: string;
    totalAuthorizedAmount: string;
    totalCapturedAmount: string;
    totalRefundedAmount: string;
    transaction: {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    };
  }, {
    status: string;
    id: string;
    currency: string;
    amount: number;
    chargeback: {
      amount_cents: number;
      currency: string;
      reason_code: string;
    };
    creationTime: string;
    merchantId: string;
    merchantOrderId: string;
    merchantTransactionId: string;
    terminalId: string;
    totalAuthorizedAmount: string;
    totalCapturedAmount: string;
    totalRefundedAmount: string;
    transaction: {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    };
  }>;
  integration_id: z$5.ZodNumber;
  klass: z$5.ZodString;
  created_by: z$5.ZodString;
  gateway_source_data: z$5.ZodNullable<z$5.ZodUnknown>;
  secure_hash: z$5.ZodString;
  avs_result_code: z$5.ZodString;
  avs_acq_response_code: z$5.ZodString;
  acs_eci: z$5.ZodString;
}, "strip", z$5.ZodTypeAny, {
  is_capture: boolean;
  is_standalone_payment: boolean;
  integration_id: number;
  created_at: string;
  currency: string;
  error_occured: boolean;
  order: {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  };
  owner: number;
  source_data: {
    type: string;
    pan: string;
    sub_type: string;
  };
  order_id: number;
  hmac: string;
  is_live: boolean;
  merchant: {
    id: number;
    created_at: string;
    street: string;
    city: string;
    country: string;
    state: string;
    phones: string[];
    company_emails: string[];
    company_name: string;
    postal_code: string;
  };
  merchant_staff_tag: string | null;
  api_source: string;
  acquirer: {
    message: string;
    merchant_id: string;
    acquirer: string;
    terminal_id: string;
    merchant_name: string;
    merchant_city: string;
    merchant_country: string;
    settlement_amount: string;
    settlement_currency: string;
    transaction_id: string;
    auth_code: string;
    reference_number: string;
    receipt_no: string;
    batch_no: string;
    response_code: string;
    pos_entry_mode: string;
    card_data: string;
    acq_response_code: string;
    avs_acq_response_code: string;
    eci: string;
    cavv: string;
    xid: string;
    network: string;
    card_type: string;
    authentication_3ds: string;
    transaction_status: string;
    transaction_status_reason: string;
    transaction_status_info: string;
    transaction_status_details: string;
    transaction_status_details_reason: string;
    transaction_status_details_info: string;
  };
  transaction_id: string;
  avs_acq_response_code: string;
  transaction_processed_callback_responses: unknown[];
  is_void: boolean;
  is_refund: boolean;
  refunded_amount_cents: number;
  source_id: number;
  is_captured: boolean;
  captured_amount: number;
  updated_at: string;
  is_settled: boolean;
  bill_balanced: boolean;
  is_bill: boolean;
  redirect_url: string | null;
  merchant_external_link: string | null;
  use_redirection: boolean;
  rrn: string;
  migs_order: {
    status: string;
    id: string;
    currency: string;
    amount: number;
    chargeback: {
      amount_cents: number;
      currency: string;
      reason_code: string;
    };
    creationTime: string;
    merchantId: string;
    merchantOrderId: string;
    merchantTransactionId: string;
    terminalId: string;
    totalAuthorizedAmount: string;
    totalCapturedAmount: string;
    totalRefundedAmount: string;
    transaction: {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    };
  };
  klass: string;
  created_by: string;
  secure_hash: string;
  avs_result_code: string;
  acs_eci: string;
  parent_id: string;
  terminal_id?: unknown;
  payment_key_claims?: unknown;
  other_endpoint_reference?: unknown;
  parent_transaction?: unknown;
  installment?: unknown;
  gateway_source_data?: unknown;
}, {
  is_capture: boolean;
  is_standalone_payment: boolean;
  integration_id: number;
  created_at: string;
  currency: string;
  error_occured: boolean;
  order: {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  };
  owner: number;
  source_data: {
    type: string;
    pan: string;
    sub_type: string;
  };
  order_id: number;
  hmac: string;
  is_live: boolean;
  merchant: {
    id: number;
    created_at: string;
    street: string;
    city: string;
    country: string;
    state: string;
    phones: string[];
    company_emails: string[];
    company_name: string;
    postal_code: string;
  };
  merchant_staff_tag: string | null;
  api_source: string;
  acquirer: {
    message: string;
    merchant_id: string;
    acquirer: string;
    terminal_id: string;
    merchant_name: string;
    merchant_city: string;
    merchant_country: string;
    settlement_amount: string;
    settlement_currency: string;
    transaction_id: string;
    auth_code: string;
    reference_number: string;
    receipt_no: string;
    batch_no: string;
    response_code: string;
    pos_entry_mode: string;
    card_data: string;
    acq_response_code: string;
    avs_acq_response_code: string;
    eci: string;
    cavv: string;
    xid: string;
    network: string;
    card_type: string;
    authentication_3ds: string;
    transaction_status: string;
    transaction_status_reason: string;
    transaction_status_info: string;
    transaction_status_details: string;
    transaction_status_details_reason: string;
    transaction_status_details_info: string;
  };
  transaction_id: string;
  avs_acq_response_code: string;
  transaction_processed_callback_responses: unknown[];
  is_void: boolean;
  is_refund: boolean;
  refunded_amount_cents: number;
  source_id: number;
  is_captured: boolean;
  captured_amount: number;
  updated_at: string;
  is_settled: boolean;
  bill_balanced: boolean;
  is_bill: boolean;
  redirect_url: string | null;
  merchant_external_link: string | null;
  use_redirection: boolean;
  rrn: string;
  migs_order: {
    status: string;
    id: string;
    currency: string;
    amount: number;
    chargeback: {
      amount_cents: number;
      currency: string;
      reason_code: string;
    };
    creationTime: string;
    merchantId: string;
    merchantOrderId: string;
    merchantTransactionId: string;
    terminalId: string;
    totalAuthorizedAmount: string;
    totalCapturedAmount: string;
    totalRefundedAmount: string;
    transaction: {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    };
  };
  klass: string;
  created_by: string;
  secure_hash: string;
  avs_result_code: string;
  acs_eci: string;
  parent_id: string;
  terminal_id?: unknown;
  payment_key_claims?: unknown;
  other_endpoint_reference?: unknown;
  parent_transaction?: unknown;
  installment?: unknown;
  gateway_source_data?: unknown;
}>;
type RefundTransactionData = z$5.input<typeof RefundTransactionDataSchema>;
declare const CaptureTransactionDataSchema: z$5.ZodObject<{
  transaction_id: z$5.ZodString;
  parent_id: z$5.ZodString;
  order: z$5.ZodObject<{
    id: z$5.ZodNumber;
    created_at: z$5.ZodString;
    delivery_needed: z$5.ZodBoolean;
    merchant: z$5.ZodObject<{
      id: z$5.ZodNumber;
      created_at: z$5.ZodString;
      phones: z$5.ZodArray<z$5.ZodString, "many">;
      company_emails: z$5.ZodArray<z$5.ZodString, "many">;
      company_name: z$5.ZodString;
      state: z$5.ZodString;
      country: z$5.ZodString;
      city: z$5.ZodString;
      postal_code: z$5.ZodString;
      street: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }>;
    collector: z$5.ZodNullable<z$5.ZodUnknown>;
    amount_cents: z$5.ZodNumber;
    shipping_data: z$5.ZodNullable<z$5.ZodObject<{
      id: z$5.ZodNumber;
      first_name: z$5.ZodString;
      last_name: z$5.ZodString;
      street: z$5.ZodString;
      building: z$5.ZodString;
      floor: z$5.ZodString;
      apartment: z$5.ZodString;
      city: z$5.ZodString;
      state: z$5.ZodString;
      country: z$5.ZodString;
      email: z$5.ZodString;
      phone_number: z$5.ZodString;
      postal_code: z$5.ZodString;
      extra_description: z$5.ZodString;
      shipping_method: z$5.ZodString;
      order_id: z$5.ZodNumber;
      order: z$5.ZodNumber;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    }, {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    }>>;
    shipping_details: z$5.ZodNullable<z$5.ZodUnknown>;
    currency: z$5.ZodString;
    is_payment_locked: z$5.ZodBoolean;
    is_return: z$5.ZodBoolean;
    is_cancel: z$5.ZodBoolean;
    is_returned: z$5.ZodBoolean;
    is_canceled: z$5.ZodBoolean;
    merchant_order_id: z$5.ZodNullable<z$5.ZodString>;
    wallet_notification: z$5.ZodNullable<z$5.ZodUnknown>;
    paid_amount_cents: z$5.ZodNumber;
    notify_user_with_email: z$5.ZodBoolean;
    items: z$5.ZodArray<z$5.ZodUnknown, "many">;
    order_url: z$5.ZodString;
    commission_fees: z$5.ZodNumber;
    delivery_fees_cents: z$5.ZodNumber;
    delivery_vat_cents: z$5.ZodNumber;
    payment_method: z$5.ZodString;
    merchant_staff_tag: z$5.ZodNullable<z$5.ZodString>;
    api_source: z$5.ZodString;
    pickup_data: z$5.ZodNullable<z$5.ZodUnknown>;
    delivery_status: z$5.ZodArray<z$5.ZodUnknown, "many">;
  }, "strip", z$5.ZodTypeAny, {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  }, {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  }>;
  created_at: z$5.ZodString;
  transaction_processed_callback_responses: z$5.ZodArray<z$5.ZodUnknown, "many">;
  currency: z$5.ZodString;
  source_data: z$5.ZodObject<{
    type: z$5.ZodString;
    pan: z$5.ZodString;
    sub_type: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    type: string;
    pan: string;
    sub_type: string;
  }, {
    type: string;
    pan: string;
    sub_type: string;
  }>;
  api_source: z$5.ZodString;
  is_void: z$5.ZodBoolean;
  is_refund: z$5.ZodBoolean;
  is_capture: z$5.ZodBoolean;
  is_standalone_payment: z$5.ZodBoolean;
  payment_key_claims: z$5.ZodNullable<z$5.ZodUnknown>;
  error_occured: z$5.ZodBoolean;
  is_live: z$5.ZodBoolean;
  other_endpoint_reference: z$5.ZodNullable<z$5.ZodUnknown>;
  refunded_amount_cents: z$5.ZodNumber;
  source_id: z$5.ZodNumber;
  is_captured: z$5.ZodBoolean;
  captured_amount: z$5.ZodNumber;
  merchant_staff_tag: z$5.ZodNullable<z$5.ZodString>;
  updated_at: z$5.ZodString;
  is_settled: z$5.ZodBoolean;
  bill_balanced: z$5.ZodBoolean;
  is_bill: z$5.ZodBoolean;
  owner: z$5.ZodNumber;
  parent_transaction: z$5.ZodNullable<z$5.ZodUnknown>;
  redirect_url: z$5.ZodNullable<z$5.ZodString>;
  merchant: z$5.ZodObject<{
    id: z$5.ZodNumber;
    created_at: z$5.ZodString;
    phones: z$5.ZodArray<z$5.ZodString, "many">;
    company_emails: z$5.ZodArray<z$5.ZodString, "many">;
    company_name: z$5.ZodString;
    state: z$5.ZodString;
    country: z$5.ZodString;
    city: z$5.ZodString;
    postal_code: z$5.ZodString;
    street: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    id: number;
    created_at: string;
    street: string;
    city: string;
    country: string;
    state: string;
    phones: string[];
    company_emails: string[];
    company_name: string;
    postal_code: string;
  }, {
    id: number;
    created_at: string;
    street: string;
    city: string;
    country: string;
    state: string;
    phones: string[];
    company_emails: string[];
    company_name: string;
    postal_code: string;
  }>;
  merchant_external_link: z$5.ZodNullable<z$5.ZodString>;
  acquirer: z$5.ZodObject<{
    acquirer: z$5.ZodString;
    merchant_id: z$5.ZodString;
    terminal_id: z$5.ZodString;
    merchant_name: z$5.ZodString;
    merchant_city: z$5.ZodString;
    merchant_country: z$5.ZodString;
    settlement_amount: z$5.ZodString;
    settlement_currency: z$5.ZodString;
    transaction_id: z$5.ZodString;
    auth_code: z$5.ZodString;
    reference_number: z$5.ZodString;
    receipt_no: z$5.ZodString;
    batch_no: z$5.ZodString;
    message: z$5.ZodString;
    response_code: z$5.ZodString;
    pos_entry_mode: z$5.ZodString;
    card_data: z$5.ZodString;
    acq_response_code: z$5.ZodString;
    avs_acq_response_code: z$5.ZodString;
    eci: z$5.ZodString;
    cavv: z$5.ZodString;
    xid: z$5.ZodString;
    network: z$5.ZodString;
    card_type: z$5.ZodString;
    authentication_3ds: z$5.ZodString;
    transaction_status: z$5.ZodString;
    transaction_status_reason: z$5.ZodString;
    transaction_status_info: z$5.ZodString;
    transaction_status_details: z$5.ZodString;
    transaction_status_details_reason: z$5.ZodString;
    transaction_status_details_info: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    message: string;
    merchant_id: string;
    acquirer: string;
    terminal_id: string;
    merchant_name: string;
    merchant_city: string;
    merchant_country: string;
    settlement_amount: string;
    settlement_currency: string;
    transaction_id: string;
    auth_code: string;
    reference_number: string;
    receipt_no: string;
    batch_no: string;
    response_code: string;
    pos_entry_mode: string;
    card_data: string;
    acq_response_code: string;
    avs_acq_response_code: string;
    eci: string;
    cavv: string;
    xid: string;
    network: string;
    card_type: string;
    authentication_3ds: string;
    transaction_status: string;
    transaction_status_reason: string;
    transaction_status_info: string;
    transaction_status_details: string;
    transaction_status_details_reason: string;
    transaction_status_details_info: string;
  }, {
    message: string;
    merchant_id: string;
    acquirer: string;
    terminal_id: string;
    merchant_name: string;
    merchant_city: string;
    merchant_country: string;
    settlement_amount: string;
    settlement_currency: string;
    transaction_id: string;
    auth_code: string;
    reference_number: string;
    receipt_no: string;
    batch_no: string;
    response_code: string;
    pos_entry_mode: string;
    card_data: string;
    acq_response_code: string;
    avs_acq_response_code: string;
    eci: string;
    cavv: string;
    xid: string;
    network: string;
    card_type: string;
    authentication_3ds: string;
    transaction_status: string;
    transaction_status_reason: string;
    transaction_status_info: string;
    transaction_status_details: string;
    transaction_status_details_reason: string;
    transaction_status_details_info: string;
  }>;
  terminal_id: z$5.ZodNullable<z$5.ZodUnknown>;
  installment: z$5.ZodNullable<z$5.ZodUnknown>;
  order_id: z$5.ZodNumber;
  hmac: z$5.ZodString;
  use_redirection: z$5.ZodBoolean;
  rrn: z$5.ZodString;
  migs_order: z$5.ZodObject<{
    amount: z$5.ZodNumber;
    chargeback: z$5.ZodObject<{
      amount_cents: z$5.ZodNumber;
      currency: z$5.ZodString;
      reason_code: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      amount_cents: number;
      currency: string;
      reason_code: string;
    }, {
      amount_cents: number;
      currency: string;
      reason_code: string;
    }>;
    creationTime: z$5.ZodString;
    currency: z$5.ZodString;
    id: z$5.ZodString;
    merchantId: z$5.ZodString;
    merchantOrderId: z$5.ZodString;
    merchantTransactionId: z$5.ZodString;
    status: z$5.ZodString;
    terminalId: z$5.ZodString;
    totalAuthorizedAmount: z$5.ZodString;
    totalCapturedAmount: z$5.ZodString;
    totalRefundedAmount: z$5.ZodString;
    transaction: z$5.ZodObject<{
      id: z$5.ZodString;
      amount: z$5.ZodNumber;
      currency: z$5.ZodString;
      merchant: z$5.ZodString;
      terminal: z$5.ZodString;
      type: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    }, {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    }>;
  }, "strip", z$5.ZodTypeAny, {
    status: string;
    id: string;
    currency: string;
    amount: number;
    chargeback: {
      amount_cents: number;
      currency: string;
      reason_code: string;
    };
    creationTime: string;
    merchantId: string;
    merchantOrderId: string;
    merchantTransactionId: string;
    terminalId: string;
    totalAuthorizedAmount: string;
    totalCapturedAmount: string;
    totalRefundedAmount: string;
    transaction: {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    };
  }, {
    status: string;
    id: string;
    currency: string;
    amount: number;
    chargeback: {
      amount_cents: number;
      currency: string;
      reason_code: string;
    };
    creationTime: string;
    merchantId: string;
    merchantOrderId: string;
    merchantTransactionId: string;
    terminalId: string;
    totalAuthorizedAmount: string;
    totalCapturedAmount: string;
    totalRefundedAmount: string;
    transaction: {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    };
  }>;
  integration_id: z$5.ZodNumber;
  klass: z$5.ZodString;
  created_by: z$5.ZodString;
  gateway_source_data: z$5.ZodNullable<z$5.ZodUnknown>;
  secure_hash: z$5.ZodString;
  avs_result_code: z$5.ZodString;
  avs_acq_response_code: z$5.ZodString;
  acs_eci: z$5.ZodString;
}, "strip", z$5.ZodTypeAny, {
  is_capture: boolean;
  is_standalone_payment: boolean;
  integration_id: number;
  created_at: string;
  currency: string;
  error_occured: boolean;
  order: {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  };
  owner: number;
  source_data: {
    type: string;
    pan: string;
    sub_type: string;
  };
  order_id: number;
  hmac: string;
  is_live: boolean;
  merchant: {
    id: number;
    created_at: string;
    street: string;
    city: string;
    country: string;
    state: string;
    phones: string[];
    company_emails: string[];
    company_name: string;
    postal_code: string;
  };
  merchant_staff_tag: string | null;
  api_source: string;
  acquirer: {
    message: string;
    merchant_id: string;
    acquirer: string;
    terminal_id: string;
    merchant_name: string;
    merchant_city: string;
    merchant_country: string;
    settlement_amount: string;
    settlement_currency: string;
    transaction_id: string;
    auth_code: string;
    reference_number: string;
    receipt_no: string;
    batch_no: string;
    response_code: string;
    pos_entry_mode: string;
    card_data: string;
    acq_response_code: string;
    avs_acq_response_code: string;
    eci: string;
    cavv: string;
    xid: string;
    network: string;
    card_type: string;
    authentication_3ds: string;
    transaction_status: string;
    transaction_status_reason: string;
    transaction_status_info: string;
    transaction_status_details: string;
    transaction_status_details_reason: string;
    transaction_status_details_info: string;
  };
  transaction_id: string;
  avs_acq_response_code: string;
  transaction_processed_callback_responses: unknown[];
  is_void: boolean;
  is_refund: boolean;
  refunded_amount_cents: number;
  source_id: number;
  is_captured: boolean;
  captured_amount: number;
  updated_at: string;
  is_settled: boolean;
  bill_balanced: boolean;
  is_bill: boolean;
  redirect_url: string | null;
  merchant_external_link: string | null;
  use_redirection: boolean;
  rrn: string;
  migs_order: {
    status: string;
    id: string;
    currency: string;
    amount: number;
    chargeback: {
      amount_cents: number;
      currency: string;
      reason_code: string;
    };
    creationTime: string;
    merchantId: string;
    merchantOrderId: string;
    merchantTransactionId: string;
    terminalId: string;
    totalAuthorizedAmount: string;
    totalCapturedAmount: string;
    totalRefundedAmount: string;
    transaction: {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    };
  };
  klass: string;
  created_by: string;
  secure_hash: string;
  avs_result_code: string;
  acs_eci: string;
  parent_id: string;
  terminal_id?: unknown;
  payment_key_claims?: unknown;
  other_endpoint_reference?: unknown;
  parent_transaction?: unknown;
  installment?: unknown;
  gateway_source_data?: unknown;
}, {
  is_capture: boolean;
  is_standalone_payment: boolean;
  integration_id: number;
  created_at: string;
  currency: string;
  error_occured: boolean;
  order: {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  };
  owner: number;
  source_data: {
    type: string;
    pan: string;
    sub_type: string;
  };
  order_id: number;
  hmac: string;
  is_live: boolean;
  merchant: {
    id: number;
    created_at: string;
    street: string;
    city: string;
    country: string;
    state: string;
    phones: string[];
    company_emails: string[];
    company_name: string;
    postal_code: string;
  };
  merchant_staff_tag: string | null;
  api_source: string;
  acquirer: {
    message: string;
    merchant_id: string;
    acquirer: string;
    terminal_id: string;
    merchant_name: string;
    merchant_city: string;
    merchant_country: string;
    settlement_amount: string;
    settlement_currency: string;
    transaction_id: string;
    auth_code: string;
    reference_number: string;
    receipt_no: string;
    batch_no: string;
    response_code: string;
    pos_entry_mode: string;
    card_data: string;
    acq_response_code: string;
    avs_acq_response_code: string;
    eci: string;
    cavv: string;
    xid: string;
    network: string;
    card_type: string;
    authentication_3ds: string;
    transaction_status: string;
    transaction_status_reason: string;
    transaction_status_info: string;
    transaction_status_details: string;
    transaction_status_details_reason: string;
    transaction_status_details_info: string;
  };
  transaction_id: string;
  avs_acq_response_code: string;
  transaction_processed_callback_responses: unknown[];
  is_void: boolean;
  is_refund: boolean;
  refunded_amount_cents: number;
  source_id: number;
  is_captured: boolean;
  captured_amount: number;
  updated_at: string;
  is_settled: boolean;
  bill_balanced: boolean;
  is_bill: boolean;
  redirect_url: string | null;
  merchant_external_link: string | null;
  use_redirection: boolean;
  rrn: string;
  migs_order: {
    status: string;
    id: string;
    currency: string;
    amount: number;
    chargeback: {
      amount_cents: number;
      currency: string;
      reason_code: string;
    };
    creationTime: string;
    merchantId: string;
    merchantOrderId: string;
    merchantTransactionId: string;
    terminalId: string;
    totalAuthorizedAmount: string;
    totalCapturedAmount: string;
    totalRefundedAmount: string;
    transaction: {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    };
  };
  klass: string;
  created_by: string;
  secure_hash: string;
  avs_result_code: string;
  acs_eci: string;
  parent_id: string;
  terminal_id?: unknown;
  payment_key_claims?: unknown;
  other_endpoint_reference?: unknown;
  parent_transaction?: unknown;
  installment?: unknown;
  gateway_source_data?: unknown;
}>;
type CaptureTransactionData = z$5.input<typeof CaptureTransactionDataSchema>;
declare const VoidTransactionDataSchema: z$5.ZodObject<{
  transaction_id: z$5.ZodString;
  parent_id: z$5.ZodString;
  order: z$5.ZodObject<{
    id: z$5.ZodNumber;
    created_at: z$5.ZodString;
    delivery_needed: z$5.ZodBoolean;
    merchant: z$5.ZodObject<{
      id: z$5.ZodNumber;
      created_at: z$5.ZodString;
      phones: z$5.ZodArray<z$5.ZodString, "many">;
      company_emails: z$5.ZodArray<z$5.ZodString, "many">;
      company_name: z$5.ZodString;
      state: z$5.ZodString;
      country: z$5.ZodString;
      city: z$5.ZodString;
      postal_code: z$5.ZodString;
      street: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }>;
    collector: z$5.ZodNullable<z$5.ZodUnknown>;
    amount_cents: z$5.ZodNumber;
    shipping_data: z$5.ZodNullable<z$5.ZodObject<{
      id: z$5.ZodNumber;
      first_name: z$5.ZodString;
      last_name: z$5.ZodString;
      street: z$5.ZodString;
      building: z$5.ZodString;
      floor: z$5.ZodString;
      apartment: z$5.ZodString;
      city: z$5.ZodString;
      state: z$5.ZodString;
      country: z$5.ZodString;
      email: z$5.ZodString;
      phone_number: z$5.ZodString;
      postal_code: z$5.ZodString;
      extra_description: z$5.ZodString;
      shipping_method: z$5.ZodString;
      order_id: z$5.ZodNumber;
      order: z$5.ZodNumber;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    }, {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    }>>;
    shipping_details: z$5.ZodNullable<z$5.ZodUnknown>;
    currency: z$5.ZodString;
    is_payment_locked: z$5.ZodBoolean;
    is_return: z$5.ZodBoolean;
    is_cancel: z$5.ZodBoolean;
    is_returned: z$5.ZodBoolean;
    is_canceled: z$5.ZodBoolean;
    merchant_order_id: z$5.ZodNullable<z$5.ZodString>;
    wallet_notification: z$5.ZodNullable<z$5.ZodUnknown>;
    paid_amount_cents: z$5.ZodNumber;
    notify_user_with_email: z$5.ZodBoolean;
    items: z$5.ZodArray<z$5.ZodUnknown, "many">;
    order_url: z$5.ZodString;
    commission_fees: z$5.ZodNumber;
    delivery_fees_cents: z$5.ZodNumber;
    delivery_vat_cents: z$5.ZodNumber;
    payment_method: z$5.ZodString;
    merchant_staff_tag: z$5.ZodNullable<z$5.ZodString>;
    api_source: z$5.ZodString;
    pickup_data: z$5.ZodNullable<z$5.ZodUnknown>;
    delivery_status: z$5.ZodArray<z$5.ZodUnknown, "many">;
  }, "strip", z$5.ZodTypeAny, {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  }, {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  }>;
  created_at: z$5.ZodString;
  transaction_processed_callback_responses: z$5.ZodArray<z$5.ZodUnknown, "many">;
  currency: z$5.ZodString;
  source_data: z$5.ZodObject<{
    type: z$5.ZodString;
    pan: z$5.ZodString;
    sub_type: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    type: string;
    pan: string;
    sub_type: string;
  }, {
    type: string;
    pan: string;
    sub_type: string;
  }>;
  api_source: z$5.ZodString;
  is_void: z$5.ZodBoolean;
  is_refund: z$5.ZodBoolean;
  is_capture: z$5.ZodBoolean;
  is_standalone_payment: z$5.ZodBoolean;
  payment_key_claims: z$5.ZodNullable<z$5.ZodUnknown>;
  error_occured: z$5.ZodBoolean;
  is_live: z$5.ZodBoolean;
  other_endpoint_reference: z$5.ZodNullable<z$5.ZodUnknown>;
  refunded_amount_cents: z$5.ZodNumber;
  source_id: z$5.ZodNumber;
  is_captured: z$5.ZodBoolean;
  captured_amount: z$5.ZodNumber;
  merchant_staff_tag: z$5.ZodNullable<z$5.ZodString>;
  updated_at: z$5.ZodString;
  is_settled: z$5.ZodBoolean;
  bill_balanced: z$5.ZodBoolean;
  is_bill: z$5.ZodBoolean;
  owner: z$5.ZodNumber;
  parent_transaction: z$5.ZodNullable<z$5.ZodUnknown>;
  redirect_url: z$5.ZodNullable<z$5.ZodString>;
  merchant: z$5.ZodObject<{
    id: z$5.ZodNumber;
    created_at: z$5.ZodString;
    phones: z$5.ZodArray<z$5.ZodString, "many">;
    company_emails: z$5.ZodArray<z$5.ZodString, "many">;
    company_name: z$5.ZodString;
    state: z$5.ZodString;
    country: z$5.ZodString;
    city: z$5.ZodString;
    postal_code: z$5.ZodString;
    street: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    id: number;
    created_at: string;
    street: string;
    city: string;
    country: string;
    state: string;
    phones: string[];
    company_emails: string[];
    company_name: string;
    postal_code: string;
  }, {
    id: number;
    created_at: string;
    street: string;
    city: string;
    country: string;
    state: string;
    phones: string[];
    company_emails: string[];
    company_name: string;
    postal_code: string;
  }>;
  merchant_external_link: z$5.ZodNullable<z$5.ZodString>;
  acquirer: z$5.ZodObject<{
    acquirer: z$5.ZodString;
    merchant_id: z$5.ZodString;
    terminal_id: z$5.ZodString;
    merchant_name: z$5.ZodString;
    merchant_city: z$5.ZodString;
    merchant_country: z$5.ZodString;
    settlement_amount: z$5.ZodString;
    settlement_currency: z$5.ZodString;
    transaction_id: z$5.ZodString;
    auth_code: z$5.ZodString;
    reference_number: z$5.ZodString;
    receipt_no: z$5.ZodString;
    batch_no: z$5.ZodString;
    message: z$5.ZodString;
    response_code: z$5.ZodString;
    pos_entry_mode: z$5.ZodString;
    card_data: z$5.ZodString;
    acq_response_code: z$5.ZodString;
    avs_acq_response_code: z$5.ZodString;
    eci: z$5.ZodString;
    cavv: z$5.ZodString;
    xid: z$5.ZodString;
    network: z$5.ZodString;
    card_type: z$5.ZodString;
    authentication_3ds: z$5.ZodString;
    transaction_status: z$5.ZodString;
    transaction_status_reason: z$5.ZodString;
    transaction_status_info: z$5.ZodString;
    transaction_status_details: z$5.ZodString;
    transaction_status_details_reason: z$5.ZodString;
    transaction_status_details_info: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    message: string;
    merchant_id: string;
    acquirer: string;
    terminal_id: string;
    merchant_name: string;
    merchant_city: string;
    merchant_country: string;
    settlement_amount: string;
    settlement_currency: string;
    transaction_id: string;
    auth_code: string;
    reference_number: string;
    receipt_no: string;
    batch_no: string;
    response_code: string;
    pos_entry_mode: string;
    card_data: string;
    acq_response_code: string;
    avs_acq_response_code: string;
    eci: string;
    cavv: string;
    xid: string;
    network: string;
    card_type: string;
    authentication_3ds: string;
    transaction_status: string;
    transaction_status_reason: string;
    transaction_status_info: string;
    transaction_status_details: string;
    transaction_status_details_reason: string;
    transaction_status_details_info: string;
  }, {
    message: string;
    merchant_id: string;
    acquirer: string;
    terminal_id: string;
    merchant_name: string;
    merchant_city: string;
    merchant_country: string;
    settlement_amount: string;
    settlement_currency: string;
    transaction_id: string;
    auth_code: string;
    reference_number: string;
    receipt_no: string;
    batch_no: string;
    response_code: string;
    pos_entry_mode: string;
    card_data: string;
    acq_response_code: string;
    avs_acq_response_code: string;
    eci: string;
    cavv: string;
    xid: string;
    network: string;
    card_type: string;
    authentication_3ds: string;
    transaction_status: string;
    transaction_status_reason: string;
    transaction_status_info: string;
    transaction_status_details: string;
    transaction_status_details_reason: string;
    transaction_status_details_info: string;
  }>;
  terminal_id: z$5.ZodNullable<z$5.ZodUnknown>;
  installment: z$5.ZodNullable<z$5.ZodUnknown>;
  order_id: z$5.ZodNumber;
  hmac: z$5.ZodString;
  use_redirection: z$5.ZodBoolean;
  rrn: z$5.ZodString;
  migs_order: z$5.ZodObject<{
    amount: z$5.ZodNumber;
    chargeback: z$5.ZodObject<{
      amount_cents: z$5.ZodNumber;
      currency: z$5.ZodString;
      reason_code: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      amount_cents: number;
      currency: string;
      reason_code: string;
    }, {
      amount_cents: number;
      currency: string;
      reason_code: string;
    }>;
    creationTime: z$5.ZodString;
    currency: z$5.ZodString;
    id: z$5.ZodString;
    merchantId: z$5.ZodString;
    merchantOrderId: z$5.ZodString;
    merchantTransactionId: z$5.ZodString;
    status: z$5.ZodString;
    terminalId: z$5.ZodString;
    totalAuthorizedAmount: z$5.ZodString;
    totalCapturedAmount: z$5.ZodString;
    totalRefundedAmount: z$5.ZodString;
    transaction: z$5.ZodObject<{
      id: z$5.ZodString;
      amount: z$5.ZodNumber;
      currency: z$5.ZodString;
      merchant: z$5.ZodString;
      terminal: z$5.ZodString;
      type: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    }, {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    }>;
  }, "strip", z$5.ZodTypeAny, {
    status: string;
    id: string;
    currency: string;
    amount: number;
    chargeback: {
      amount_cents: number;
      currency: string;
      reason_code: string;
    };
    creationTime: string;
    merchantId: string;
    merchantOrderId: string;
    merchantTransactionId: string;
    terminalId: string;
    totalAuthorizedAmount: string;
    totalCapturedAmount: string;
    totalRefundedAmount: string;
    transaction: {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    };
  }, {
    status: string;
    id: string;
    currency: string;
    amount: number;
    chargeback: {
      amount_cents: number;
      currency: string;
      reason_code: string;
    };
    creationTime: string;
    merchantId: string;
    merchantOrderId: string;
    merchantTransactionId: string;
    terminalId: string;
    totalAuthorizedAmount: string;
    totalCapturedAmount: string;
    totalRefundedAmount: string;
    transaction: {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    };
  }>;
  integration_id: z$5.ZodNumber;
  klass: z$5.ZodString;
  created_by: z$5.ZodString;
  gateway_source_data: z$5.ZodNullable<z$5.ZodUnknown>;
  secure_hash: z$5.ZodString;
  avs_result_code: z$5.ZodString;
  avs_acq_response_code: z$5.ZodString;
  acs_eci: z$5.ZodString;
}, "strip", z$5.ZodTypeAny, {
  is_capture: boolean;
  is_standalone_payment: boolean;
  integration_id: number;
  created_at: string;
  currency: string;
  error_occured: boolean;
  order: {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  };
  owner: number;
  source_data: {
    type: string;
    pan: string;
    sub_type: string;
  };
  order_id: number;
  hmac: string;
  is_live: boolean;
  merchant: {
    id: number;
    created_at: string;
    street: string;
    city: string;
    country: string;
    state: string;
    phones: string[];
    company_emails: string[];
    company_name: string;
    postal_code: string;
  };
  merchant_staff_tag: string | null;
  api_source: string;
  acquirer: {
    message: string;
    merchant_id: string;
    acquirer: string;
    terminal_id: string;
    merchant_name: string;
    merchant_city: string;
    merchant_country: string;
    settlement_amount: string;
    settlement_currency: string;
    transaction_id: string;
    auth_code: string;
    reference_number: string;
    receipt_no: string;
    batch_no: string;
    response_code: string;
    pos_entry_mode: string;
    card_data: string;
    acq_response_code: string;
    avs_acq_response_code: string;
    eci: string;
    cavv: string;
    xid: string;
    network: string;
    card_type: string;
    authentication_3ds: string;
    transaction_status: string;
    transaction_status_reason: string;
    transaction_status_info: string;
    transaction_status_details: string;
    transaction_status_details_reason: string;
    transaction_status_details_info: string;
  };
  transaction_id: string;
  avs_acq_response_code: string;
  transaction_processed_callback_responses: unknown[];
  is_void: boolean;
  is_refund: boolean;
  refunded_amount_cents: number;
  source_id: number;
  is_captured: boolean;
  captured_amount: number;
  updated_at: string;
  is_settled: boolean;
  bill_balanced: boolean;
  is_bill: boolean;
  redirect_url: string | null;
  merchant_external_link: string | null;
  use_redirection: boolean;
  rrn: string;
  migs_order: {
    status: string;
    id: string;
    currency: string;
    amount: number;
    chargeback: {
      amount_cents: number;
      currency: string;
      reason_code: string;
    };
    creationTime: string;
    merchantId: string;
    merchantOrderId: string;
    merchantTransactionId: string;
    terminalId: string;
    totalAuthorizedAmount: string;
    totalCapturedAmount: string;
    totalRefundedAmount: string;
    transaction: {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    };
  };
  klass: string;
  created_by: string;
  secure_hash: string;
  avs_result_code: string;
  acs_eci: string;
  parent_id: string;
  terminal_id?: unknown;
  payment_key_claims?: unknown;
  other_endpoint_reference?: unknown;
  parent_transaction?: unknown;
  installment?: unknown;
  gateway_source_data?: unknown;
}, {
  is_capture: boolean;
  is_standalone_payment: boolean;
  integration_id: number;
  created_at: string;
  currency: string;
  error_occured: boolean;
  order: {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  };
  owner: number;
  source_data: {
    type: string;
    pan: string;
    sub_type: string;
  };
  order_id: number;
  hmac: string;
  is_live: boolean;
  merchant: {
    id: number;
    created_at: string;
    street: string;
    city: string;
    country: string;
    state: string;
    phones: string[];
    company_emails: string[];
    company_name: string;
    postal_code: string;
  };
  merchant_staff_tag: string | null;
  api_source: string;
  acquirer: {
    message: string;
    merchant_id: string;
    acquirer: string;
    terminal_id: string;
    merchant_name: string;
    merchant_city: string;
    merchant_country: string;
    settlement_amount: string;
    settlement_currency: string;
    transaction_id: string;
    auth_code: string;
    reference_number: string;
    receipt_no: string;
    batch_no: string;
    response_code: string;
    pos_entry_mode: string;
    card_data: string;
    acq_response_code: string;
    avs_acq_response_code: string;
    eci: string;
    cavv: string;
    xid: string;
    network: string;
    card_type: string;
    authentication_3ds: string;
    transaction_status: string;
    transaction_status_reason: string;
    transaction_status_info: string;
    transaction_status_details: string;
    transaction_status_details_reason: string;
    transaction_status_details_info: string;
  };
  transaction_id: string;
  avs_acq_response_code: string;
  transaction_processed_callback_responses: unknown[];
  is_void: boolean;
  is_refund: boolean;
  refunded_amount_cents: number;
  source_id: number;
  is_captured: boolean;
  captured_amount: number;
  updated_at: string;
  is_settled: boolean;
  bill_balanced: boolean;
  is_bill: boolean;
  redirect_url: string | null;
  merchant_external_link: string | null;
  use_redirection: boolean;
  rrn: string;
  migs_order: {
    status: string;
    id: string;
    currency: string;
    amount: number;
    chargeback: {
      amount_cents: number;
      currency: string;
      reason_code: string;
    };
    creationTime: string;
    merchantId: string;
    merchantOrderId: string;
    merchantTransactionId: string;
    terminalId: string;
    totalAuthorizedAmount: string;
    totalCapturedAmount: string;
    totalRefundedAmount: string;
    transaction: {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    };
  };
  klass: string;
  created_by: string;
  secure_hash: string;
  avs_result_code: string;
  acs_eci: string;
  parent_id: string;
  terminal_id?: unknown;
  payment_key_claims?: unknown;
  other_endpoint_reference?: unknown;
  parent_transaction?: unknown;
  installment?: unknown;
  gateway_source_data?: unknown;
}>;
type VoidTransactionData = z$5.input<typeof VoidTransactionDataSchema>;
declare const PaymentTransactionDataSchema: z$5.ZodObject<{
  transaction_id: z$5.ZodString;
  migs_order: z$5.ZodObject<{
    acceptPartialAmount: z$5.ZodBoolean;
    authenticationStatus: z$5.ZodString;
    status: z$5.ZodString;
    totalAuthorizedAmount: z$5.ZodNullable<z$5.ZodUnion<[z$5.ZodNumber, z$5.ZodNull]>>;
    totalCapturedAmount: z$5.ZodNullable<z$5.ZodUnion<[z$5.ZodNumber, z$5.ZodNull]>>;
    amount: z$5.ZodNumber;
    chargeback: z$5.ZodObject<{
      amount_cents: z$5.ZodNumber;
      currency: z$5.ZodString;
      reason_code: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      amount_cents: number;
      currency: string;
      reason_code: string;
    }, {
      amount_cents: number;
      currency: string;
      reason_code: string;
    }>;
    creationTime: z$5.ZodString;
    currency: z$5.ZodString;
    id: z$5.ZodString;
    merchantId: z$5.ZodString;
    merchantOrderId: z$5.ZodString;
    merchantTransactionId: z$5.ZodString;
    terminalId: z$5.ZodString;
    totalRefundedAmount: z$5.ZodString;
    transaction: z$5.ZodObject<{
      id: z$5.ZodString;
      amount: z$5.ZodNumber;
      currency: z$5.ZodString;
      merchant: z$5.ZodString;
      terminal: z$5.ZodString;
      type: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    }, {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    }>;
  }, "strip", z$5.ZodTypeAny, {
    status: string;
    id: string;
    currency: string;
    amount: number;
    chargeback: {
      amount_cents: number;
      currency: string;
      reason_code: string;
    };
    creationTime: string;
    merchantId: string;
    merchantOrderId: string;
    merchantTransactionId: string;
    terminalId: string;
    totalAuthorizedAmount: number | null;
    totalCapturedAmount: number | null;
    totalRefundedAmount: string;
    transaction: {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    };
    acceptPartialAmount: boolean;
    authenticationStatus: string;
  }, {
    status: string;
    id: string;
    currency: string;
    amount: number;
    chargeback: {
      amount_cents: number;
      currency: string;
      reason_code: string;
    };
    creationTime: string;
    merchantId: string;
    merchantOrderId: string;
    merchantTransactionId: string;
    terminalId: string;
    totalAuthorizedAmount: number | null;
    totalCapturedAmount: number | null;
    totalRefundedAmount: string;
    transaction: {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    };
    acceptPartialAmount: boolean;
    authenticationStatus: string;
  }>;
  migs_transaction: z$5.ZodObject<{
    authenticationStatus: z$5.ZodString;
    authorizationResponse: z$5.ZodObject<{
      stan: z$5.ZodString;
      authorizationCode: z$5.ZodString;
      responseCode: z$5.ZodString;
      responseMessage: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      stan: string;
      authorizationCode: string;
      responseCode: string;
      responseMessage: string;
    }, {
      stan: string;
      authorizationCode: string;
      responseCode: string;
      responseMessage: string;
    }>;
    receipt: z$5.ZodString;
    type: z$5.ZodLiteral<"PAYMENT">;
    status: z$5.ZodString;
    id: z$5.ZodString;
    amount: z$5.ZodNumber;
    currency: z$5.ZodString;
    merchant: z$5.ZodString;
    terminal: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    type: "PAYMENT";
    status: string;
    id: string;
    currency: string;
    amount: number;
    merchant: string;
    terminal: string;
    authenticationStatus: string;
    authorizationResponse: {
      stan: string;
      authorizationCode: string;
      responseCode: string;
      responseMessage: string;
    };
    receipt: string;
  }, {
    type: "PAYMENT";
    status: string;
    id: string;
    currency: string;
    amount: number;
    merchant: string;
    terminal: string;
    authenticationStatus: string;
    authorizationResponse: {
      stan: string;
      authorizationCode: string;
      responseCode: string;
      responseMessage: string;
    };
    receipt: string;
  }>;
  order: z$5.ZodObject<{
    id: z$5.ZodNumber;
    created_at: z$5.ZodString;
    delivery_needed: z$5.ZodBoolean;
    merchant: z$5.ZodObject<{
      id: z$5.ZodNumber;
      created_at: z$5.ZodString;
      phones: z$5.ZodArray<z$5.ZodString, "many">;
      company_emails: z$5.ZodArray<z$5.ZodString, "many">;
      company_name: z$5.ZodString;
      state: z$5.ZodString;
      country: z$5.ZodString;
      city: z$5.ZodString;
      postal_code: z$5.ZodString;
      street: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }>;
    collector: z$5.ZodNullable<z$5.ZodUnknown>;
    amount_cents: z$5.ZodNumber;
    shipping_data: z$5.ZodNullable<z$5.ZodObject<{
      id: z$5.ZodNumber;
      first_name: z$5.ZodString;
      last_name: z$5.ZodString;
      street: z$5.ZodString;
      building: z$5.ZodString;
      floor: z$5.ZodString;
      apartment: z$5.ZodString;
      city: z$5.ZodString;
      state: z$5.ZodString;
      country: z$5.ZodString;
      email: z$5.ZodString;
      phone_number: z$5.ZodString;
      postal_code: z$5.ZodString;
      extra_description: z$5.ZodString;
      shipping_method: z$5.ZodString;
      order_id: z$5.ZodNumber;
      order: z$5.ZodNumber;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    }, {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    }>>;
    shipping_details: z$5.ZodNullable<z$5.ZodUnknown>;
    currency: z$5.ZodString;
    is_payment_locked: z$5.ZodBoolean;
    is_return: z$5.ZodBoolean;
    is_cancel: z$5.ZodBoolean;
    is_returned: z$5.ZodBoolean;
    is_canceled: z$5.ZodBoolean;
    merchant_order_id: z$5.ZodNullable<z$5.ZodString>;
    wallet_notification: z$5.ZodNullable<z$5.ZodUnknown>;
    paid_amount_cents: z$5.ZodNumber;
    notify_user_with_email: z$5.ZodBoolean;
    items: z$5.ZodArray<z$5.ZodUnknown, "many">;
    order_url: z$5.ZodString;
    commission_fees: z$5.ZodNumber;
    delivery_fees_cents: z$5.ZodNumber;
    delivery_vat_cents: z$5.ZodNumber;
    payment_method: z$5.ZodString;
    merchant_staff_tag: z$5.ZodNullable<z$5.ZodString>;
    api_source: z$5.ZodString;
    pickup_data: z$5.ZodNullable<z$5.ZodUnknown>;
    delivery_status: z$5.ZodArray<z$5.ZodUnknown, "many">;
  }, "strip", z$5.ZodTypeAny, {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  }, {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  }>;
  created_at: z$5.ZodString;
  transaction_processed_callback_responses: z$5.ZodArray<z$5.ZodUnknown, "many">;
  currency: z$5.ZodString;
  source_data: z$5.ZodObject<{
    type: z$5.ZodString;
    pan: z$5.ZodString;
    sub_type: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    type: string;
    pan: string;
    sub_type: string;
  }, {
    type: string;
    pan: string;
    sub_type: string;
  }>;
  api_source: z$5.ZodString;
  is_void: z$5.ZodBoolean;
  is_refund: z$5.ZodBoolean;
  is_capture: z$5.ZodBoolean;
  is_standalone_payment: z$5.ZodBoolean;
  payment_key_claims: z$5.ZodNullable<z$5.ZodUnknown>;
  error_occured: z$5.ZodBoolean;
  is_live: z$5.ZodBoolean;
  other_endpoint_reference: z$5.ZodNullable<z$5.ZodUnknown>;
  refunded_amount_cents: z$5.ZodNumber;
  source_id: z$5.ZodNumber;
  is_captured: z$5.ZodBoolean;
  captured_amount: z$5.ZodNumber;
  merchant_staff_tag: z$5.ZodNullable<z$5.ZodString>;
  updated_at: z$5.ZodString;
  is_settled: z$5.ZodBoolean;
  bill_balanced: z$5.ZodBoolean;
  is_bill: z$5.ZodBoolean;
  owner: z$5.ZodNumber;
  parent_transaction: z$5.ZodNullable<z$5.ZodUnknown>;
  redirect_url: z$5.ZodNullable<z$5.ZodString>;
  merchant: z$5.ZodObject<{
    id: z$5.ZodNumber;
    created_at: z$5.ZodString;
    phones: z$5.ZodArray<z$5.ZodString, "many">;
    company_emails: z$5.ZodArray<z$5.ZodString, "many">;
    company_name: z$5.ZodString;
    state: z$5.ZodString;
    country: z$5.ZodString;
    city: z$5.ZodString;
    postal_code: z$5.ZodString;
    street: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    id: number;
    created_at: string;
    street: string;
    city: string;
    country: string;
    state: string;
    phones: string[];
    company_emails: string[];
    company_name: string;
    postal_code: string;
  }, {
    id: number;
    created_at: string;
    street: string;
    city: string;
    country: string;
    state: string;
    phones: string[];
    company_emails: string[];
    company_name: string;
    postal_code: string;
  }>;
  merchant_external_link: z$5.ZodNullable<z$5.ZodString>;
  acquirer: z$5.ZodObject<{
    acquirer: z$5.ZodString;
    merchant_id: z$5.ZodString;
    terminal_id: z$5.ZodString;
    merchant_name: z$5.ZodString;
    merchant_city: z$5.ZodString;
    merchant_country: z$5.ZodString;
    settlement_amount: z$5.ZodString;
    settlement_currency: z$5.ZodString;
    transaction_id: z$5.ZodString;
    auth_code: z$5.ZodString;
    reference_number: z$5.ZodString;
    receipt_no: z$5.ZodString;
    batch_no: z$5.ZodString;
    message: z$5.ZodString;
    response_code: z$5.ZodString;
    pos_entry_mode: z$5.ZodString;
    card_data: z$5.ZodString;
    acq_response_code: z$5.ZodString;
    avs_acq_response_code: z$5.ZodString;
    eci: z$5.ZodString;
    cavv: z$5.ZodString;
    xid: z$5.ZodString;
    network: z$5.ZodString;
    card_type: z$5.ZodString;
    authentication_3ds: z$5.ZodString;
    transaction_status: z$5.ZodString;
    transaction_status_reason: z$5.ZodString;
    transaction_status_info: z$5.ZodString;
    transaction_status_details: z$5.ZodString;
    transaction_status_details_reason: z$5.ZodString;
    transaction_status_details_info: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    message: string;
    merchant_id: string;
    acquirer: string;
    terminal_id: string;
    merchant_name: string;
    merchant_city: string;
    merchant_country: string;
    settlement_amount: string;
    settlement_currency: string;
    transaction_id: string;
    auth_code: string;
    reference_number: string;
    receipt_no: string;
    batch_no: string;
    response_code: string;
    pos_entry_mode: string;
    card_data: string;
    acq_response_code: string;
    avs_acq_response_code: string;
    eci: string;
    cavv: string;
    xid: string;
    network: string;
    card_type: string;
    authentication_3ds: string;
    transaction_status: string;
    transaction_status_reason: string;
    transaction_status_info: string;
    transaction_status_details: string;
    transaction_status_details_reason: string;
    transaction_status_details_info: string;
  }, {
    message: string;
    merchant_id: string;
    acquirer: string;
    terminal_id: string;
    merchant_name: string;
    merchant_city: string;
    merchant_country: string;
    settlement_amount: string;
    settlement_currency: string;
    transaction_id: string;
    auth_code: string;
    reference_number: string;
    receipt_no: string;
    batch_no: string;
    response_code: string;
    pos_entry_mode: string;
    card_data: string;
    acq_response_code: string;
    avs_acq_response_code: string;
    eci: string;
    cavv: string;
    xid: string;
    network: string;
    card_type: string;
    authentication_3ds: string;
    transaction_status: string;
    transaction_status_reason: string;
    transaction_status_info: string;
    transaction_status_details: string;
    transaction_status_details_reason: string;
    transaction_status_details_info: string;
  }>;
  terminal_id: z$5.ZodNullable<z$5.ZodUnknown>;
  installment: z$5.ZodNullable<z$5.ZodUnknown>;
  order_id: z$5.ZodNumber;
  hmac: z$5.ZodString;
  use_redirection: z$5.ZodBoolean;
  rrn: z$5.ZodString;
  integration_id: z$5.ZodNumber;
  klass: z$5.ZodString;
  created_by: z$5.ZodString;
  gateway_source_data: z$5.ZodNullable<z$5.ZodUnknown>;
  secure_hash: z$5.ZodString;
  avs_result_code: z$5.ZodString;
  avs_acq_response_code: z$5.ZodString;
  acs_eci: z$5.ZodString;
}, "strip", z$5.ZodTypeAny, {
  is_capture: boolean;
  is_standalone_payment: boolean;
  integration_id: number;
  created_at: string;
  currency: string;
  error_occured: boolean;
  order: {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  };
  owner: number;
  source_data: {
    type: string;
    pan: string;
    sub_type: string;
  };
  order_id: number;
  hmac: string;
  is_live: boolean;
  merchant: {
    id: number;
    created_at: string;
    street: string;
    city: string;
    country: string;
    state: string;
    phones: string[];
    company_emails: string[];
    company_name: string;
    postal_code: string;
  };
  merchant_staff_tag: string | null;
  api_source: string;
  acquirer: {
    message: string;
    merchant_id: string;
    acquirer: string;
    terminal_id: string;
    merchant_name: string;
    merchant_city: string;
    merchant_country: string;
    settlement_amount: string;
    settlement_currency: string;
    transaction_id: string;
    auth_code: string;
    reference_number: string;
    receipt_no: string;
    batch_no: string;
    response_code: string;
    pos_entry_mode: string;
    card_data: string;
    acq_response_code: string;
    avs_acq_response_code: string;
    eci: string;
    cavv: string;
    xid: string;
    network: string;
    card_type: string;
    authentication_3ds: string;
    transaction_status: string;
    transaction_status_reason: string;
    transaction_status_info: string;
    transaction_status_details: string;
    transaction_status_details_reason: string;
    transaction_status_details_info: string;
  };
  transaction_id: string;
  avs_acq_response_code: string;
  transaction_processed_callback_responses: unknown[];
  is_void: boolean;
  is_refund: boolean;
  refunded_amount_cents: number;
  source_id: number;
  is_captured: boolean;
  captured_amount: number;
  updated_at: string;
  is_settled: boolean;
  bill_balanced: boolean;
  is_bill: boolean;
  redirect_url: string | null;
  merchant_external_link: string | null;
  use_redirection: boolean;
  rrn: string;
  migs_order: {
    status: string;
    id: string;
    currency: string;
    amount: number;
    chargeback: {
      amount_cents: number;
      currency: string;
      reason_code: string;
    };
    creationTime: string;
    merchantId: string;
    merchantOrderId: string;
    merchantTransactionId: string;
    terminalId: string;
    totalAuthorizedAmount: number | null;
    totalCapturedAmount: number | null;
    totalRefundedAmount: string;
    transaction: {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    };
    acceptPartialAmount: boolean;
    authenticationStatus: string;
  };
  klass: string;
  created_by: string;
  secure_hash: string;
  avs_result_code: string;
  acs_eci: string;
  migs_transaction: {
    type: "PAYMENT";
    status: string;
    id: string;
    currency: string;
    amount: number;
    merchant: string;
    terminal: string;
    authenticationStatus: string;
    authorizationResponse: {
      stan: string;
      authorizationCode: string;
      responseCode: string;
      responseMessage: string;
    };
    receipt: string;
  };
  terminal_id?: unknown;
  payment_key_claims?: unknown;
  other_endpoint_reference?: unknown;
  parent_transaction?: unknown;
  installment?: unknown;
  gateway_source_data?: unknown;
}, {
  is_capture: boolean;
  is_standalone_payment: boolean;
  integration_id: number;
  created_at: string;
  currency: string;
  error_occured: boolean;
  order: {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  };
  owner: number;
  source_data: {
    type: string;
    pan: string;
    sub_type: string;
  };
  order_id: number;
  hmac: string;
  is_live: boolean;
  merchant: {
    id: number;
    created_at: string;
    street: string;
    city: string;
    country: string;
    state: string;
    phones: string[];
    company_emails: string[];
    company_name: string;
    postal_code: string;
  };
  merchant_staff_tag: string | null;
  api_source: string;
  acquirer: {
    message: string;
    merchant_id: string;
    acquirer: string;
    terminal_id: string;
    merchant_name: string;
    merchant_city: string;
    merchant_country: string;
    settlement_amount: string;
    settlement_currency: string;
    transaction_id: string;
    auth_code: string;
    reference_number: string;
    receipt_no: string;
    batch_no: string;
    response_code: string;
    pos_entry_mode: string;
    card_data: string;
    acq_response_code: string;
    avs_acq_response_code: string;
    eci: string;
    cavv: string;
    xid: string;
    network: string;
    card_type: string;
    authentication_3ds: string;
    transaction_status: string;
    transaction_status_reason: string;
    transaction_status_info: string;
    transaction_status_details: string;
    transaction_status_details_reason: string;
    transaction_status_details_info: string;
  };
  transaction_id: string;
  avs_acq_response_code: string;
  transaction_processed_callback_responses: unknown[];
  is_void: boolean;
  is_refund: boolean;
  refunded_amount_cents: number;
  source_id: number;
  is_captured: boolean;
  captured_amount: number;
  updated_at: string;
  is_settled: boolean;
  bill_balanced: boolean;
  is_bill: boolean;
  redirect_url: string | null;
  merchant_external_link: string | null;
  use_redirection: boolean;
  rrn: string;
  migs_order: {
    status: string;
    id: string;
    currency: string;
    amount: number;
    chargeback: {
      amount_cents: number;
      currency: string;
      reason_code: string;
    };
    creationTime: string;
    merchantId: string;
    merchantOrderId: string;
    merchantTransactionId: string;
    terminalId: string;
    totalAuthorizedAmount: number | null;
    totalCapturedAmount: number | null;
    totalRefundedAmount: string;
    transaction: {
      type: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
    };
    acceptPartialAmount: boolean;
    authenticationStatus: string;
  };
  klass: string;
  created_by: string;
  secure_hash: string;
  avs_result_code: string;
  acs_eci: string;
  migs_transaction: {
    type: "PAYMENT";
    status: string;
    id: string;
    currency: string;
    amount: number;
    merchant: string;
    terminal: string;
    authenticationStatus: string;
    authorizationResponse: {
      stan: string;
      authorizationCode: string;
      responseCode: string;
      responseMessage: string;
    };
    receipt: string;
  };
  terminal_id?: unknown;
  payment_key_claims?: unknown;
  other_endpoint_reference?: unknown;
  parent_transaction?: unknown;
  installment?: unknown;
  gateway_source_data?: unknown;
}>;
type PaymentTransactionData = z$5.input<typeof PaymentTransactionDataSchema>;
declare const BillingDataClaimsSchema: z$5.ZodObject<{
  apartment: z$5.ZodString;
  email: z$5.ZodString;
  floor: z$5.ZodString;
  first_name: z$5.ZodString;
  street: z$5.ZodString;
  building: z$5.ZodString;
  phone_number: z$5.ZodString;
  shipping_method: z$5.ZodString;
  postal_code: z$5.ZodString;
  city: z$5.ZodString;
  country: z$5.ZodString;
  last_name: z$5.ZodString;
  state: z$5.ZodString;
}, "strip", z$5.ZodTypeAny, {
  email: string;
  first_name: string;
  last_name: string;
  phone_number: string;
  apartment: string;
  street: string;
  building: string;
  city: string;
  country: string;
  floor: string;
  state: string;
  postal_code: string;
  shipping_method: string;
}, {
  email: string;
  first_name: string;
  last_name: string;
  phone_number: string;
  apartment: string;
  street: string;
  building: string;
  city: string;
  country: string;
  floor: string;
  state: string;
  postal_code: string;
  shipping_method: string;
}>;
type BillingDataClaims = z$5.infer<typeof BillingDataClaimsSchema>;
declare const PaymentKeyClaimsSchema: z$5.ZodObject<{
  user_id: z$5.ZodNumber;
  amount_cents: z$5.ZodNumber;
  currency: z$5.ZodString;
  integration_id: z$5.ZodNumber;
  order_id: z$5.ZodNumber;
  billing_data: z$5.ZodObject<{
    apartment: z$5.ZodString;
    email: z$5.ZodString;
    floor: z$5.ZodString;
    first_name: z$5.ZodString;
    street: z$5.ZodString;
    building: z$5.ZodString;
    phone_number: z$5.ZodString;
    shipping_method: z$5.ZodString;
    postal_code: z$5.ZodString;
    city: z$5.ZodString;
    country: z$5.ZodString;
    last_name: z$5.ZodString;
    state: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    email: string;
    first_name: string;
    last_name: string;
    phone_number: string;
    apartment: string;
    street: string;
    building: string;
    city: string;
    country: string;
    floor: string;
    state: string;
    postal_code: string;
    shipping_method: string;
  }, {
    email: string;
    first_name: string;
    last_name: string;
    phone_number: string;
    apartment: string;
    street: string;
    building: string;
    city: string;
    country: string;
    floor: string;
    state: string;
    postal_code: string;
    shipping_method: string;
  }>;
  lock_order_when_paid: z$5.ZodBoolean;
  extra: z$5.ZodObject<{}, "passthrough", z$5.ZodTypeAny, z$5.objectOutputType<{}, z$5.ZodTypeAny, "passthrough">, z$5.objectInputType<{}, z$5.ZodTypeAny, "passthrough">>;
  notification_url: z$5.ZodString;
  redirection_url: z$5.ZodString;
  single_payment_attempt: z$5.ZodBoolean;
  exp: z$5.ZodNumber;
  pmk_ip: z$5.ZodString;
}, "strip", z$5.ZodTypeAny, {
  amount_cents: number;
  integration_id: number;
  currency: string;
  order_id: number;
  notification_url: string;
  redirection_url: string;
  billing_data: {
    email: string;
    first_name: string;
    last_name: string;
    phone_number: string;
    apartment: string;
    street: string;
    building: string;
    city: string;
    country: string;
    floor: string;
    state: string;
    postal_code: string;
    shipping_method: string;
  };
  user_id: number;
  lock_order_when_paid: boolean;
  extra: {} & {
    [k: string]: unknown;
  };
  single_payment_attempt: boolean;
  exp: number;
  pmk_ip: string;
}, {
  amount_cents: number;
  integration_id: number;
  currency: string;
  order_id: number;
  notification_url: string;
  redirection_url: string;
  billing_data: {
    email: string;
    first_name: string;
    last_name: string;
    phone_number: string;
    apartment: string;
    street: string;
    building: string;
    city: string;
    country: string;
    floor: string;
    state: string;
    postal_code: string;
    shipping_method: string;
  };
  user_id: number;
  lock_order_when_paid: boolean;
  extra: {} & {
    [k: string]: unknown;
  };
  single_payment_attempt: boolean;
  exp: number;
  pmk_ip: string;
}>;
type PaymentKeyClaims = z$5.input<typeof PaymentKeyClaimsSchema>;
/**
 * Detailed schema for Refund Transaction Response based on Paymob API.
 */
declare const RefundResponseSchema: z$5.ZodObject<{
  is_refund: z$5.ZodLiteral<true>;
  data: z$5.ZodObject<{
    transaction_id: z$5.ZodString;
    parent_id: z$5.ZodString;
    order: z$5.ZodObject<{
      id: z$5.ZodNumber;
      created_at: z$5.ZodString;
      delivery_needed: z$5.ZodBoolean;
      merchant: z$5.ZodObject<{
        id: z$5.ZodNumber;
        created_at: z$5.ZodString;
        phones: z$5.ZodArray<z$5.ZodString, "many">;
        company_emails: z$5.ZodArray<z$5.ZodString, "many">;
        company_name: z$5.ZodString;
        state: z$5.ZodString;
        country: z$5.ZodString;
        city: z$5.ZodString;
        postal_code: z$5.ZodString;
        street: z$5.ZodString;
      }, "strip", z$5.ZodTypeAny, {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      }, {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      }>;
      collector: z$5.ZodNullable<z$5.ZodUnknown>;
      amount_cents: z$5.ZodNumber;
      shipping_data: z$5.ZodNullable<z$5.ZodObject<{
        id: z$5.ZodNumber;
        first_name: z$5.ZodString;
        last_name: z$5.ZodString;
        street: z$5.ZodString;
        building: z$5.ZodString;
        floor: z$5.ZodString;
        apartment: z$5.ZodString;
        city: z$5.ZodString;
        state: z$5.ZodString;
        country: z$5.ZodString;
        email: z$5.ZodString;
        phone_number: z$5.ZodString;
        postal_code: z$5.ZodString;
        extra_description: z$5.ZodString;
        shipping_method: z$5.ZodString;
        order_id: z$5.ZodNumber;
        order: z$5.ZodNumber;
      }, "strip", z$5.ZodTypeAny, {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      }, {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      }>>;
      shipping_details: z$5.ZodNullable<z$5.ZodUnknown>;
      currency: z$5.ZodString;
      is_payment_locked: z$5.ZodBoolean;
      is_return: z$5.ZodBoolean;
      is_cancel: z$5.ZodBoolean;
      is_returned: z$5.ZodBoolean;
      is_canceled: z$5.ZodBoolean;
      merchant_order_id: z$5.ZodNullable<z$5.ZodString>;
      wallet_notification: z$5.ZodNullable<z$5.ZodUnknown>;
      paid_amount_cents: z$5.ZodNumber;
      notify_user_with_email: z$5.ZodBoolean;
      items: z$5.ZodArray<z$5.ZodUnknown, "many">;
      order_url: z$5.ZodString;
      commission_fees: z$5.ZodNumber;
      delivery_fees_cents: z$5.ZodNumber;
      delivery_vat_cents: z$5.ZodNumber;
      payment_method: z$5.ZodString;
      merchant_staff_tag: z$5.ZodNullable<z$5.ZodString>;
      api_source: z$5.ZodString;
      pickup_data: z$5.ZodNullable<z$5.ZodUnknown>;
      delivery_status: z$5.ZodArray<z$5.ZodUnknown, "many">;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      amount_cents: number;
      created_at: string;
      currency: string;
      items: unknown[];
      delivery_needed: boolean;
      merchant: {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      };
      shipping_data: {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      } | null;
      is_payment_locked: boolean;
      is_return: boolean;
      is_cancel: boolean;
      is_returned: boolean;
      is_canceled: boolean;
      merchant_order_id: string | null;
      paid_amount_cents: number;
      notify_user_with_email: boolean;
      order_url: string;
      commission_fees: number;
      delivery_fees_cents: number;
      delivery_vat_cents: number;
      payment_method: string;
      merchant_staff_tag: string | null;
      api_source: string;
      delivery_status: unknown[];
      collector?: unknown;
      shipping_details?: unknown;
      wallet_notification?: unknown;
      pickup_data?: unknown;
    }, {
      id: number;
      amount_cents: number;
      created_at: string;
      currency: string;
      items: unknown[];
      delivery_needed: boolean;
      merchant: {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      };
      shipping_data: {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      } | null;
      is_payment_locked: boolean;
      is_return: boolean;
      is_cancel: boolean;
      is_returned: boolean;
      is_canceled: boolean;
      merchant_order_id: string | null;
      paid_amount_cents: number;
      notify_user_with_email: boolean;
      order_url: string;
      commission_fees: number;
      delivery_fees_cents: number;
      delivery_vat_cents: number;
      payment_method: string;
      merchant_staff_tag: string | null;
      api_source: string;
      delivery_status: unknown[];
      collector?: unknown;
      shipping_details?: unknown;
      wallet_notification?: unknown;
      pickup_data?: unknown;
    }>;
    created_at: z$5.ZodString;
    transaction_processed_callback_responses: z$5.ZodArray<z$5.ZodUnknown, "many">;
    currency: z$5.ZodString;
    source_data: z$5.ZodObject<{
      type: z$5.ZodString;
      pan: z$5.ZodString;
      sub_type: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      type: string;
      pan: string;
      sub_type: string;
    }, {
      type: string;
      pan: string;
      sub_type: string;
    }>;
    api_source: z$5.ZodString;
    is_void: z$5.ZodBoolean;
    is_refund: z$5.ZodBoolean;
    is_capture: z$5.ZodBoolean;
    is_standalone_payment: z$5.ZodBoolean;
    payment_key_claims: z$5.ZodNullable<z$5.ZodUnknown>;
    error_occured: z$5.ZodBoolean;
    is_live: z$5.ZodBoolean;
    other_endpoint_reference: z$5.ZodNullable<z$5.ZodUnknown>;
    refunded_amount_cents: z$5.ZodNumber;
    source_id: z$5.ZodNumber;
    is_captured: z$5.ZodBoolean;
    captured_amount: z$5.ZodNumber;
    merchant_staff_tag: z$5.ZodNullable<z$5.ZodString>;
    updated_at: z$5.ZodString;
    is_settled: z$5.ZodBoolean;
    bill_balanced: z$5.ZodBoolean;
    is_bill: z$5.ZodBoolean;
    owner: z$5.ZodNumber;
    parent_transaction: z$5.ZodNullable<z$5.ZodUnknown>;
    redirect_url: z$5.ZodNullable<z$5.ZodString>;
    merchant: z$5.ZodObject<{
      id: z$5.ZodNumber;
      created_at: z$5.ZodString;
      phones: z$5.ZodArray<z$5.ZodString, "many">;
      company_emails: z$5.ZodArray<z$5.ZodString, "many">;
      company_name: z$5.ZodString;
      state: z$5.ZodString;
      country: z$5.ZodString;
      city: z$5.ZodString;
      postal_code: z$5.ZodString;
      street: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }>;
    merchant_external_link: z$5.ZodNullable<z$5.ZodString>;
    acquirer: z$5.ZodObject<{
      acquirer: z$5.ZodString;
      merchant_id: z$5.ZodString;
      terminal_id: z$5.ZodString;
      merchant_name: z$5.ZodString;
      merchant_city: z$5.ZodString;
      merchant_country: z$5.ZodString;
      settlement_amount: z$5.ZodString;
      settlement_currency: z$5.ZodString;
      transaction_id: z$5.ZodString;
      auth_code: z$5.ZodString;
      reference_number: z$5.ZodString;
      receipt_no: z$5.ZodString;
      batch_no: z$5.ZodString;
      message: z$5.ZodString;
      response_code: z$5.ZodString;
      pos_entry_mode: z$5.ZodString;
      card_data: z$5.ZodString;
      acq_response_code: z$5.ZodString;
      avs_acq_response_code: z$5.ZodString;
      eci: z$5.ZodString;
      cavv: z$5.ZodString;
      xid: z$5.ZodString;
      network: z$5.ZodString;
      card_type: z$5.ZodString;
      authentication_3ds: z$5.ZodString;
      transaction_status: z$5.ZodString;
      transaction_status_reason: z$5.ZodString;
      transaction_status_info: z$5.ZodString;
      transaction_status_details: z$5.ZodString;
      transaction_status_details_reason: z$5.ZodString;
      transaction_status_details_info: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      message: string;
      merchant_id: string;
      acquirer: string;
      terminal_id: string;
      merchant_name: string;
      merchant_city: string;
      merchant_country: string;
      settlement_amount: string;
      settlement_currency: string;
      transaction_id: string;
      auth_code: string;
      reference_number: string;
      receipt_no: string;
      batch_no: string;
      response_code: string;
      pos_entry_mode: string;
      card_data: string;
      acq_response_code: string;
      avs_acq_response_code: string;
      eci: string;
      cavv: string;
      xid: string;
      network: string;
      card_type: string;
      authentication_3ds: string;
      transaction_status: string;
      transaction_status_reason: string;
      transaction_status_info: string;
      transaction_status_details: string;
      transaction_status_details_reason: string;
      transaction_status_details_info: string;
    }, {
      message: string;
      merchant_id: string;
      acquirer: string;
      terminal_id: string;
      merchant_name: string;
      merchant_city: string;
      merchant_country: string;
      settlement_amount: string;
      settlement_currency: string;
      transaction_id: string;
      auth_code: string;
      reference_number: string;
      receipt_no: string;
      batch_no: string;
      response_code: string;
      pos_entry_mode: string;
      card_data: string;
      acq_response_code: string;
      avs_acq_response_code: string;
      eci: string;
      cavv: string;
      xid: string;
      network: string;
      card_type: string;
      authentication_3ds: string;
      transaction_status: string;
      transaction_status_reason: string;
      transaction_status_info: string;
      transaction_status_details: string;
      transaction_status_details_reason: string;
      transaction_status_details_info: string;
    }>;
    terminal_id: z$5.ZodNullable<z$5.ZodUnknown>;
    installment: z$5.ZodNullable<z$5.ZodUnknown>;
    order_id: z$5.ZodNumber;
    hmac: z$5.ZodString;
    use_redirection: z$5.ZodBoolean;
    rrn: z$5.ZodString;
    migs_order: z$5.ZodObject<{
      amount: z$5.ZodNumber;
      chargeback: z$5.ZodObject<{
        amount_cents: z$5.ZodNumber;
        currency: z$5.ZodString;
        reason_code: z$5.ZodString;
      }, "strip", z$5.ZodTypeAny, {
        amount_cents: number;
        currency: string;
        reason_code: string;
      }, {
        amount_cents: number;
        currency: string;
        reason_code: string;
      }>;
      creationTime: z$5.ZodString;
      currency: z$5.ZodString;
      id: z$5.ZodString;
      merchantId: z$5.ZodString;
      merchantOrderId: z$5.ZodString;
      merchantTransactionId: z$5.ZodString;
      status: z$5.ZodString;
      terminalId: z$5.ZodString;
      totalAuthorizedAmount: z$5.ZodString;
      totalCapturedAmount: z$5.ZodString;
      totalRefundedAmount: z$5.ZodString;
      transaction: z$5.ZodObject<{
        id: z$5.ZodString;
        amount: z$5.ZodNumber;
        currency: z$5.ZodString;
        merchant: z$5.ZodString;
        terminal: z$5.ZodString;
        type: z$5.ZodString;
      }, "strip", z$5.ZodTypeAny, {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      }, {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      }>;
    }, "strip", z$5.ZodTypeAny, {
      status: string;
      id: string;
      currency: string;
      amount: number;
      chargeback: {
        amount_cents: number;
        currency: string;
        reason_code: string;
      };
      creationTime: string;
      merchantId: string;
      merchantOrderId: string;
      merchantTransactionId: string;
      terminalId: string;
      totalAuthorizedAmount: string;
      totalCapturedAmount: string;
      totalRefundedAmount: string;
      transaction: {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      };
    }, {
      status: string;
      id: string;
      currency: string;
      amount: number;
      chargeback: {
        amount_cents: number;
        currency: string;
        reason_code: string;
      };
      creationTime: string;
      merchantId: string;
      merchantOrderId: string;
      merchantTransactionId: string;
      terminalId: string;
      totalAuthorizedAmount: string;
      totalCapturedAmount: string;
      totalRefundedAmount: string;
      transaction: {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      };
    }>;
    integration_id: z$5.ZodNumber;
    klass: z$5.ZodString;
    created_by: z$5.ZodString;
    gateway_source_data: z$5.ZodNullable<z$5.ZodUnknown>;
    secure_hash: z$5.ZodString;
    avs_result_code: z$5.ZodString;
    avs_acq_response_code: z$5.ZodString;
    acs_eci: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    is_capture: boolean;
    is_standalone_payment: boolean;
    integration_id: number;
    created_at: string;
    currency: string;
    error_occured: boolean;
    order: {
      id: number;
      amount_cents: number;
      created_at: string;
      currency: string;
      items: unknown[];
      delivery_needed: boolean;
      merchant: {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      };
      shipping_data: {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      } | null;
      is_payment_locked: boolean;
      is_return: boolean;
      is_cancel: boolean;
      is_returned: boolean;
      is_canceled: boolean;
      merchant_order_id: string | null;
      paid_amount_cents: number;
      notify_user_with_email: boolean;
      order_url: string;
      commission_fees: number;
      delivery_fees_cents: number;
      delivery_vat_cents: number;
      payment_method: string;
      merchant_staff_tag: string | null;
      api_source: string;
      delivery_status: unknown[];
      collector?: unknown;
      shipping_details?: unknown;
      wallet_notification?: unknown;
      pickup_data?: unknown;
    };
    owner: number;
    source_data: {
      type: string;
      pan: string;
      sub_type: string;
    };
    order_id: number;
    hmac: string;
    is_live: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    merchant_staff_tag: string | null;
    api_source: string;
    acquirer: {
      message: string;
      merchant_id: string;
      acquirer: string;
      terminal_id: string;
      merchant_name: string;
      merchant_city: string;
      merchant_country: string;
      settlement_amount: string;
      settlement_currency: string;
      transaction_id: string;
      auth_code: string;
      reference_number: string;
      receipt_no: string;
      batch_no: string;
      response_code: string;
      pos_entry_mode: string;
      card_data: string;
      acq_response_code: string;
      avs_acq_response_code: string;
      eci: string;
      cavv: string;
      xid: string;
      network: string;
      card_type: string;
      authentication_3ds: string;
      transaction_status: string;
      transaction_status_reason: string;
      transaction_status_info: string;
      transaction_status_details: string;
      transaction_status_details_reason: string;
      transaction_status_details_info: string;
    };
    transaction_id: string;
    avs_acq_response_code: string;
    transaction_processed_callback_responses: unknown[];
    is_void: boolean;
    is_refund: boolean;
    refunded_amount_cents: number;
    source_id: number;
    is_captured: boolean;
    captured_amount: number;
    updated_at: string;
    is_settled: boolean;
    bill_balanced: boolean;
    is_bill: boolean;
    redirect_url: string | null;
    merchant_external_link: string | null;
    use_redirection: boolean;
    rrn: string;
    migs_order: {
      status: string;
      id: string;
      currency: string;
      amount: number;
      chargeback: {
        amount_cents: number;
        currency: string;
        reason_code: string;
      };
      creationTime: string;
      merchantId: string;
      merchantOrderId: string;
      merchantTransactionId: string;
      terminalId: string;
      totalAuthorizedAmount: string;
      totalCapturedAmount: string;
      totalRefundedAmount: string;
      transaction: {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      };
    };
    klass: string;
    created_by: string;
    secure_hash: string;
    avs_result_code: string;
    acs_eci: string;
    parent_id: string;
    terminal_id?: unknown;
    payment_key_claims?: unknown;
    other_endpoint_reference?: unknown;
    parent_transaction?: unknown;
    installment?: unknown;
    gateway_source_data?: unknown;
  }, {
    is_capture: boolean;
    is_standalone_payment: boolean;
    integration_id: number;
    created_at: string;
    currency: string;
    error_occured: boolean;
    order: {
      id: number;
      amount_cents: number;
      created_at: string;
      currency: string;
      items: unknown[];
      delivery_needed: boolean;
      merchant: {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      };
      shipping_data: {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      } | null;
      is_payment_locked: boolean;
      is_return: boolean;
      is_cancel: boolean;
      is_returned: boolean;
      is_canceled: boolean;
      merchant_order_id: string | null;
      paid_amount_cents: number;
      notify_user_with_email: boolean;
      order_url: string;
      commission_fees: number;
      delivery_fees_cents: number;
      delivery_vat_cents: number;
      payment_method: string;
      merchant_staff_tag: string | null;
      api_source: string;
      delivery_status: unknown[];
      collector?: unknown;
      shipping_details?: unknown;
      wallet_notification?: unknown;
      pickup_data?: unknown;
    };
    owner: number;
    source_data: {
      type: string;
      pan: string;
      sub_type: string;
    };
    order_id: number;
    hmac: string;
    is_live: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    merchant_staff_tag: string | null;
    api_source: string;
    acquirer: {
      message: string;
      merchant_id: string;
      acquirer: string;
      terminal_id: string;
      merchant_name: string;
      merchant_city: string;
      merchant_country: string;
      settlement_amount: string;
      settlement_currency: string;
      transaction_id: string;
      auth_code: string;
      reference_number: string;
      receipt_no: string;
      batch_no: string;
      response_code: string;
      pos_entry_mode: string;
      card_data: string;
      acq_response_code: string;
      avs_acq_response_code: string;
      eci: string;
      cavv: string;
      xid: string;
      network: string;
      card_type: string;
      authentication_3ds: string;
      transaction_status: string;
      transaction_status_reason: string;
      transaction_status_info: string;
      transaction_status_details: string;
      transaction_status_details_reason: string;
      transaction_status_details_info: string;
    };
    transaction_id: string;
    avs_acq_response_code: string;
    transaction_processed_callback_responses: unknown[];
    is_void: boolean;
    is_refund: boolean;
    refunded_amount_cents: number;
    source_id: number;
    is_captured: boolean;
    captured_amount: number;
    updated_at: string;
    is_settled: boolean;
    bill_balanced: boolean;
    is_bill: boolean;
    redirect_url: string | null;
    merchant_external_link: string | null;
    use_redirection: boolean;
    rrn: string;
    migs_order: {
      status: string;
      id: string;
      currency: string;
      amount: number;
      chargeback: {
        amount_cents: number;
        currency: string;
        reason_code: string;
      };
      creationTime: string;
      merchantId: string;
      merchantOrderId: string;
      merchantTransactionId: string;
      terminalId: string;
      totalAuthorizedAmount: string;
      totalCapturedAmount: string;
      totalRefundedAmount: string;
      transaction: {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      };
    };
    klass: string;
    created_by: string;
    secure_hash: string;
    avs_result_code: string;
    acs_eci: string;
    parent_id: string;
    terminal_id?: unknown;
    payment_key_claims?: unknown;
    other_endpoint_reference?: unknown;
    parent_transaction?: unknown;
    installment?: unknown;
    gateway_source_data?: unknown;
  }>;
  id: z$5.ZodNumber;
  pending: z$5.ZodBoolean;
  amount_cents: z$5.ZodNumber;
  success: z$5.ZodBoolean;
  is_auth: z$5.ZodBoolean;
  is_capture: z$5.ZodBoolean;
  is_standalone_payment: z$5.ZodBoolean;
  is_void: z$5.ZodBoolean;
  is_voided: z$5.ZodBoolean;
  is_refunded: z$5.ZodBoolean;
  is_3d_secure: z$5.ZodBoolean;
  integration_id: z$5.ZodNumber;
  profile_id: z$5.ZodNumber;
  has_parent_transaction: z$5.ZodBoolean;
  order: z$5.ZodObject<{
    id: z$5.ZodNumber;
    created_at: z$5.ZodString;
    delivery_needed: z$5.ZodBoolean;
    merchant: z$5.ZodObject<{
      id: z$5.ZodNumber;
      created_at: z$5.ZodString;
      phones: z$5.ZodArray<z$5.ZodString, "many">;
      company_emails: z$5.ZodArray<z$5.ZodString, "many">;
      company_name: z$5.ZodString;
      state: z$5.ZodString;
      country: z$5.ZodString;
      city: z$5.ZodString;
      postal_code: z$5.ZodString;
      street: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }>;
    collector: z$5.ZodNullable<z$5.ZodUnknown>;
    amount_cents: z$5.ZodNumber;
    shipping_data: z$5.ZodNullable<z$5.ZodObject<{
      id: z$5.ZodNumber;
      first_name: z$5.ZodString;
      last_name: z$5.ZodString;
      street: z$5.ZodString;
      building: z$5.ZodString;
      floor: z$5.ZodString;
      apartment: z$5.ZodString;
      city: z$5.ZodString;
      state: z$5.ZodString;
      country: z$5.ZodString;
      email: z$5.ZodString;
      phone_number: z$5.ZodString;
      postal_code: z$5.ZodString;
      extra_description: z$5.ZodString;
      shipping_method: z$5.ZodString;
      order_id: z$5.ZodNumber;
      order: z$5.ZodNumber;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    }, {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    }>>;
    shipping_details: z$5.ZodNullable<z$5.ZodUnknown>;
    currency: z$5.ZodString;
    is_payment_locked: z$5.ZodBoolean;
    is_return: z$5.ZodBoolean;
    is_cancel: z$5.ZodBoolean;
    is_returned: z$5.ZodBoolean;
    is_canceled: z$5.ZodBoolean;
    merchant_order_id: z$5.ZodNullable<z$5.ZodString>;
    wallet_notification: z$5.ZodNullable<z$5.ZodUnknown>;
    paid_amount_cents: z$5.ZodNumber;
    notify_user_with_email: z$5.ZodBoolean;
    items: z$5.ZodArray<z$5.ZodUnknown, "many">;
    order_url: z$5.ZodString;
    commission_fees: z$5.ZodNumber;
    delivery_fees_cents: z$5.ZodNumber;
    delivery_vat_cents: z$5.ZodNumber;
    payment_method: z$5.ZodString;
    merchant_staff_tag: z$5.ZodNullable<z$5.ZodString>;
    api_source: z$5.ZodString;
    pickup_data: z$5.ZodNullable<z$5.ZodUnknown>;
    delivery_status: z$5.ZodArray<z$5.ZodUnknown, "many">;
  }, "strip", z$5.ZodTypeAny, {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  }, {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  }>;
  created_at: z$5.ZodString;
  transaction_processed_callback_responses: z$5.ZodArray<z$5.ZodUnknown, "many">;
  currency: z$5.ZodString;
  source_data: z$5.ZodObject<{
    type: z$5.ZodString;
    pan: z$5.ZodString;
    sub_type: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    type: string;
    pan: string;
    sub_type: string;
  }, {
    type: string;
    pan: string;
    sub_type: string;
  }>;
  api_source: z$5.ZodString;
  terminal_id: z$5.ZodNullable<z$5.ZodUnknown>;
  merchant_commission: z$5.ZodNumber;
  installment: z$5.ZodNullable<z$5.ZodUnknown>;
  error_occured: z$5.ZodBoolean;
  refunded_amount_cents: z$5.ZodNumber;
  captured_amount: z$5.ZodNumber;
  updated_at: z$5.ZodString;
  is_settled: z$5.ZodBoolean;
  bill_balanced: z$5.ZodBoolean;
  is_bill: z$5.ZodBoolean;
  owner: z$5.ZodNumber;
  parent_transaction: z$5.ZodNumber;
}, "strip", z$5.ZodTypeAny, {
  id: number;
  pending: boolean;
  amount_cents: number;
  success: boolean;
  is_auth: boolean;
  is_capture: boolean;
  is_standalone_payment: boolean;
  is_voided: boolean;
  is_refunded: boolean;
  is_3d_secure: boolean;
  integration_id: number;
  has_parent_transaction: boolean;
  created_at: string;
  currency: string;
  error_occured: boolean;
  order: {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  };
  owner: number;
  source_data: {
    type: string;
    pan: string;
    sub_type: string;
  };
  api_source: string;
  transaction_processed_callback_responses: unknown[];
  is_void: boolean;
  is_refund: true;
  refunded_amount_cents: number;
  captured_amount: number;
  updated_at: string;
  is_settled: boolean;
  bill_balanced: boolean;
  is_bill: boolean;
  parent_transaction: number;
  profile_id: number;
  merchant_commission: number;
  data: {
    is_capture: boolean;
    is_standalone_payment: boolean;
    integration_id: number;
    created_at: string;
    currency: string;
    error_occured: boolean;
    order: {
      id: number;
      amount_cents: number;
      created_at: string;
      currency: string;
      items: unknown[];
      delivery_needed: boolean;
      merchant: {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      };
      shipping_data: {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      } | null;
      is_payment_locked: boolean;
      is_return: boolean;
      is_cancel: boolean;
      is_returned: boolean;
      is_canceled: boolean;
      merchant_order_id: string | null;
      paid_amount_cents: number;
      notify_user_with_email: boolean;
      order_url: string;
      commission_fees: number;
      delivery_fees_cents: number;
      delivery_vat_cents: number;
      payment_method: string;
      merchant_staff_tag: string | null;
      api_source: string;
      delivery_status: unknown[];
      collector?: unknown;
      shipping_details?: unknown;
      wallet_notification?: unknown;
      pickup_data?: unknown;
    };
    owner: number;
    source_data: {
      type: string;
      pan: string;
      sub_type: string;
    };
    order_id: number;
    hmac: string;
    is_live: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    merchant_staff_tag: string | null;
    api_source: string;
    acquirer: {
      message: string;
      merchant_id: string;
      acquirer: string;
      terminal_id: string;
      merchant_name: string;
      merchant_city: string;
      merchant_country: string;
      settlement_amount: string;
      settlement_currency: string;
      transaction_id: string;
      auth_code: string;
      reference_number: string;
      receipt_no: string;
      batch_no: string;
      response_code: string;
      pos_entry_mode: string;
      card_data: string;
      acq_response_code: string;
      avs_acq_response_code: string;
      eci: string;
      cavv: string;
      xid: string;
      network: string;
      card_type: string;
      authentication_3ds: string;
      transaction_status: string;
      transaction_status_reason: string;
      transaction_status_info: string;
      transaction_status_details: string;
      transaction_status_details_reason: string;
      transaction_status_details_info: string;
    };
    transaction_id: string;
    avs_acq_response_code: string;
    transaction_processed_callback_responses: unknown[];
    is_void: boolean;
    is_refund: boolean;
    refunded_amount_cents: number;
    source_id: number;
    is_captured: boolean;
    captured_amount: number;
    updated_at: string;
    is_settled: boolean;
    bill_balanced: boolean;
    is_bill: boolean;
    redirect_url: string | null;
    merchant_external_link: string | null;
    use_redirection: boolean;
    rrn: string;
    migs_order: {
      status: string;
      id: string;
      currency: string;
      amount: number;
      chargeback: {
        amount_cents: number;
        currency: string;
        reason_code: string;
      };
      creationTime: string;
      merchantId: string;
      merchantOrderId: string;
      merchantTransactionId: string;
      terminalId: string;
      totalAuthorizedAmount: string;
      totalCapturedAmount: string;
      totalRefundedAmount: string;
      transaction: {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      };
    };
    klass: string;
    created_by: string;
    secure_hash: string;
    avs_result_code: string;
    acs_eci: string;
    parent_id: string;
    terminal_id?: unknown;
    payment_key_claims?: unknown;
    other_endpoint_reference?: unknown;
    parent_transaction?: unknown;
    installment?: unknown;
    gateway_source_data?: unknown;
  };
  terminal_id?: unknown;
  installment?: unknown;
}, {
  id: number;
  pending: boolean;
  amount_cents: number;
  success: boolean;
  is_auth: boolean;
  is_capture: boolean;
  is_standalone_payment: boolean;
  is_voided: boolean;
  is_refunded: boolean;
  is_3d_secure: boolean;
  integration_id: number;
  has_parent_transaction: boolean;
  created_at: string;
  currency: string;
  error_occured: boolean;
  order: {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  };
  owner: number;
  source_data: {
    type: string;
    pan: string;
    sub_type: string;
  };
  api_source: string;
  transaction_processed_callback_responses: unknown[];
  is_void: boolean;
  is_refund: true;
  refunded_amount_cents: number;
  captured_amount: number;
  updated_at: string;
  is_settled: boolean;
  bill_balanced: boolean;
  is_bill: boolean;
  parent_transaction: number;
  profile_id: number;
  merchant_commission: number;
  data: {
    is_capture: boolean;
    is_standalone_payment: boolean;
    integration_id: number;
    created_at: string;
    currency: string;
    error_occured: boolean;
    order: {
      id: number;
      amount_cents: number;
      created_at: string;
      currency: string;
      items: unknown[];
      delivery_needed: boolean;
      merchant: {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      };
      shipping_data: {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      } | null;
      is_payment_locked: boolean;
      is_return: boolean;
      is_cancel: boolean;
      is_returned: boolean;
      is_canceled: boolean;
      merchant_order_id: string | null;
      paid_amount_cents: number;
      notify_user_with_email: boolean;
      order_url: string;
      commission_fees: number;
      delivery_fees_cents: number;
      delivery_vat_cents: number;
      payment_method: string;
      merchant_staff_tag: string | null;
      api_source: string;
      delivery_status: unknown[];
      collector?: unknown;
      shipping_details?: unknown;
      wallet_notification?: unknown;
      pickup_data?: unknown;
    };
    owner: number;
    source_data: {
      type: string;
      pan: string;
      sub_type: string;
    };
    order_id: number;
    hmac: string;
    is_live: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    merchant_staff_tag: string | null;
    api_source: string;
    acquirer: {
      message: string;
      merchant_id: string;
      acquirer: string;
      terminal_id: string;
      merchant_name: string;
      merchant_city: string;
      merchant_country: string;
      settlement_amount: string;
      settlement_currency: string;
      transaction_id: string;
      auth_code: string;
      reference_number: string;
      receipt_no: string;
      batch_no: string;
      response_code: string;
      pos_entry_mode: string;
      card_data: string;
      acq_response_code: string;
      avs_acq_response_code: string;
      eci: string;
      cavv: string;
      xid: string;
      network: string;
      card_type: string;
      authentication_3ds: string;
      transaction_status: string;
      transaction_status_reason: string;
      transaction_status_info: string;
      transaction_status_details: string;
      transaction_status_details_reason: string;
      transaction_status_details_info: string;
    };
    transaction_id: string;
    avs_acq_response_code: string;
    transaction_processed_callback_responses: unknown[];
    is_void: boolean;
    is_refund: boolean;
    refunded_amount_cents: number;
    source_id: number;
    is_captured: boolean;
    captured_amount: number;
    updated_at: string;
    is_settled: boolean;
    bill_balanced: boolean;
    is_bill: boolean;
    redirect_url: string | null;
    merchant_external_link: string | null;
    use_redirection: boolean;
    rrn: string;
    migs_order: {
      status: string;
      id: string;
      currency: string;
      amount: number;
      chargeback: {
        amount_cents: number;
        currency: string;
        reason_code: string;
      };
      creationTime: string;
      merchantId: string;
      merchantOrderId: string;
      merchantTransactionId: string;
      terminalId: string;
      totalAuthorizedAmount: string;
      totalCapturedAmount: string;
      totalRefundedAmount: string;
      transaction: {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      };
    };
    klass: string;
    created_by: string;
    secure_hash: string;
    avs_result_code: string;
    acs_eci: string;
    parent_id: string;
    terminal_id?: unknown;
    payment_key_claims?: unknown;
    other_endpoint_reference?: unknown;
    parent_transaction?: unknown;
    installment?: unknown;
    gateway_source_data?: unknown;
  };
  terminal_id?: unknown;
  installment?: unknown;
}>;
type RefundResponse = z$5.input<typeof RefundResponseSchema>;
/**
 * Detailed schema for Capture Transaction Response based on Paymob API.
 */
declare const CaptureResponseSchema: z$5.ZodObject<{
  is_capture: z$5.ZodLiteral<true>;
  is_void: z$5.ZodLiteral<false>;
  is_refund: z$5.ZodLiteral<false>;
  data: z$5.ZodObject<{
    transaction_id: z$5.ZodString;
    parent_id: z$5.ZodString;
    order: z$5.ZodObject<{
      id: z$5.ZodNumber;
      created_at: z$5.ZodString;
      delivery_needed: z$5.ZodBoolean;
      merchant: z$5.ZodObject<{
        id: z$5.ZodNumber;
        created_at: z$5.ZodString;
        phones: z$5.ZodArray<z$5.ZodString, "many">;
        company_emails: z$5.ZodArray<z$5.ZodString, "many">;
        company_name: z$5.ZodString;
        state: z$5.ZodString;
        country: z$5.ZodString;
        city: z$5.ZodString;
        postal_code: z$5.ZodString;
        street: z$5.ZodString;
      }, "strip", z$5.ZodTypeAny, {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      }, {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      }>;
      collector: z$5.ZodNullable<z$5.ZodUnknown>;
      amount_cents: z$5.ZodNumber;
      shipping_data: z$5.ZodNullable<z$5.ZodObject<{
        id: z$5.ZodNumber;
        first_name: z$5.ZodString;
        last_name: z$5.ZodString;
        street: z$5.ZodString;
        building: z$5.ZodString;
        floor: z$5.ZodString;
        apartment: z$5.ZodString;
        city: z$5.ZodString;
        state: z$5.ZodString;
        country: z$5.ZodString;
        email: z$5.ZodString;
        phone_number: z$5.ZodString;
        postal_code: z$5.ZodString;
        extra_description: z$5.ZodString;
        shipping_method: z$5.ZodString;
        order_id: z$5.ZodNumber;
        order: z$5.ZodNumber;
      }, "strip", z$5.ZodTypeAny, {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      }, {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      }>>;
      shipping_details: z$5.ZodNullable<z$5.ZodUnknown>;
      currency: z$5.ZodString;
      is_payment_locked: z$5.ZodBoolean;
      is_return: z$5.ZodBoolean;
      is_cancel: z$5.ZodBoolean;
      is_returned: z$5.ZodBoolean;
      is_canceled: z$5.ZodBoolean;
      merchant_order_id: z$5.ZodNullable<z$5.ZodString>;
      wallet_notification: z$5.ZodNullable<z$5.ZodUnknown>;
      paid_amount_cents: z$5.ZodNumber;
      notify_user_with_email: z$5.ZodBoolean;
      items: z$5.ZodArray<z$5.ZodUnknown, "many">;
      order_url: z$5.ZodString;
      commission_fees: z$5.ZodNumber;
      delivery_fees_cents: z$5.ZodNumber;
      delivery_vat_cents: z$5.ZodNumber;
      payment_method: z$5.ZodString;
      merchant_staff_tag: z$5.ZodNullable<z$5.ZodString>;
      api_source: z$5.ZodString;
      pickup_data: z$5.ZodNullable<z$5.ZodUnknown>;
      delivery_status: z$5.ZodArray<z$5.ZodUnknown, "many">;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      amount_cents: number;
      created_at: string;
      currency: string;
      items: unknown[];
      delivery_needed: boolean;
      merchant: {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      };
      shipping_data: {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      } | null;
      is_payment_locked: boolean;
      is_return: boolean;
      is_cancel: boolean;
      is_returned: boolean;
      is_canceled: boolean;
      merchant_order_id: string | null;
      paid_amount_cents: number;
      notify_user_with_email: boolean;
      order_url: string;
      commission_fees: number;
      delivery_fees_cents: number;
      delivery_vat_cents: number;
      payment_method: string;
      merchant_staff_tag: string | null;
      api_source: string;
      delivery_status: unknown[];
      collector?: unknown;
      shipping_details?: unknown;
      wallet_notification?: unknown;
      pickup_data?: unknown;
    }, {
      id: number;
      amount_cents: number;
      created_at: string;
      currency: string;
      items: unknown[];
      delivery_needed: boolean;
      merchant: {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      };
      shipping_data: {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      } | null;
      is_payment_locked: boolean;
      is_return: boolean;
      is_cancel: boolean;
      is_returned: boolean;
      is_canceled: boolean;
      merchant_order_id: string | null;
      paid_amount_cents: number;
      notify_user_with_email: boolean;
      order_url: string;
      commission_fees: number;
      delivery_fees_cents: number;
      delivery_vat_cents: number;
      payment_method: string;
      merchant_staff_tag: string | null;
      api_source: string;
      delivery_status: unknown[];
      collector?: unknown;
      shipping_details?: unknown;
      wallet_notification?: unknown;
      pickup_data?: unknown;
    }>;
    created_at: z$5.ZodString;
    transaction_processed_callback_responses: z$5.ZodArray<z$5.ZodUnknown, "many">;
    currency: z$5.ZodString;
    source_data: z$5.ZodObject<{
      type: z$5.ZodString;
      pan: z$5.ZodString;
      sub_type: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      type: string;
      pan: string;
      sub_type: string;
    }, {
      type: string;
      pan: string;
      sub_type: string;
    }>;
    api_source: z$5.ZodString;
    is_void: z$5.ZodBoolean;
    is_refund: z$5.ZodBoolean;
    is_capture: z$5.ZodBoolean;
    is_standalone_payment: z$5.ZodBoolean;
    payment_key_claims: z$5.ZodNullable<z$5.ZodUnknown>;
    error_occured: z$5.ZodBoolean;
    is_live: z$5.ZodBoolean;
    other_endpoint_reference: z$5.ZodNullable<z$5.ZodUnknown>;
    refunded_amount_cents: z$5.ZodNumber;
    source_id: z$5.ZodNumber;
    is_captured: z$5.ZodBoolean;
    captured_amount: z$5.ZodNumber;
    merchant_staff_tag: z$5.ZodNullable<z$5.ZodString>;
    updated_at: z$5.ZodString;
    is_settled: z$5.ZodBoolean;
    bill_balanced: z$5.ZodBoolean;
    is_bill: z$5.ZodBoolean;
    owner: z$5.ZodNumber;
    parent_transaction: z$5.ZodNullable<z$5.ZodUnknown>;
    redirect_url: z$5.ZodNullable<z$5.ZodString>;
    merchant: z$5.ZodObject<{
      id: z$5.ZodNumber;
      created_at: z$5.ZodString;
      phones: z$5.ZodArray<z$5.ZodString, "many">;
      company_emails: z$5.ZodArray<z$5.ZodString, "many">;
      company_name: z$5.ZodString;
      state: z$5.ZodString;
      country: z$5.ZodString;
      city: z$5.ZodString;
      postal_code: z$5.ZodString;
      street: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }>;
    merchant_external_link: z$5.ZodNullable<z$5.ZodString>;
    acquirer: z$5.ZodObject<{
      acquirer: z$5.ZodString;
      merchant_id: z$5.ZodString;
      terminal_id: z$5.ZodString;
      merchant_name: z$5.ZodString;
      merchant_city: z$5.ZodString;
      merchant_country: z$5.ZodString;
      settlement_amount: z$5.ZodString;
      settlement_currency: z$5.ZodString;
      transaction_id: z$5.ZodString;
      auth_code: z$5.ZodString;
      reference_number: z$5.ZodString;
      receipt_no: z$5.ZodString;
      batch_no: z$5.ZodString;
      message: z$5.ZodString;
      response_code: z$5.ZodString;
      pos_entry_mode: z$5.ZodString;
      card_data: z$5.ZodString;
      acq_response_code: z$5.ZodString;
      avs_acq_response_code: z$5.ZodString;
      eci: z$5.ZodString;
      cavv: z$5.ZodString;
      xid: z$5.ZodString;
      network: z$5.ZodString;
      card_type: z$5.ZodString;
      authentication_3ds: z$5.ZodString;
      transaction_status: z$5.ZodString;
      transaction_status_reason: z$5.ZodString;
      transaction_status_info: z$5.ZodString;
      transaction_status_details: z$5.ZodString;
      transaction_status_details_reason: z$5.ZodString;
      transaction_status_details_info: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      message: string;
      merchant_id: string;
      acquirer: string;
      terminal_id: string;
      merchant_name: string;
      merchant_city: string;
      merchant_country: string;
      settlement_amount: string;
      settlement_currency: string;
      transaction_id: string;
      auth_code: string;
      reference_number: string;
      receipt_no: string;
      batch_no: string;
      response_code: string;
      pos_entry_mode: string;
      card_data: string;
      acq_response_code: string;
      avs_acq_response_code: string;
      eci: string;
      cavv: string;
      xid: string;
      network: string;
      card_type: string;
      authentication_3ds: string;
      transaction_status: string;
      transaction_status_reason: string;
      transaction_status_info: string;
      transaction_status_details: string;
      transaction_status_details_reason: string;
      transaction_status_details_info: string;
    }, {
      message: string;
      merchant_id: string;
      acquirer: string;
      terminal_id: string;
      merchant_name: string;
      merchant_city: string;
      merchant_country: string;
      settlement_amount: string;
      settlement_currency: string;
      transaction_id: string;
      auth_code: string;
      reference_number: string;
      receipt_no: string;
      batch_no: string;
      response_code: string;
      pos_entry_mode: string;
      card_data: string;
      acq_response_code: string;
      avs_acq_response_code: string;
      eci: string;
      cavv: string;
      xid: string;
      network: string;
      card_type: string;
      authentication_3ds: string;
      transaction_status: string;
      transaction_status_reason: string;
      transaction_status_info: string;
      transaction_status_details: string;
      transaction_status_details_reason: string;
      transaction_status_details_info: string;
    }>;
    terminal_id: z$5.ZodNullable<z$5.ZodUnknown>;
    installment: z$5.ZodNullable<z$5.ZodUnknown>;
    order_id: z$5.ZodNumber;
    hmac: z$5.ZodString;
    use_redirection: z$5.ZodBoolean;
    rrn: z$5.ZodString;
    migs_order: z$5.ZodObject<{
      amount: z$5.ZodNumber;
      chargeback: z$5.ZodObject<{
        amount_cents: z$5.ZodNumber;
        currency: z$5.ZodString;
        reason_code: z$5.ZodString;
      }, "strip", z$5.ZodTypeAny, {
        amount_cents: number;
        currency: string;
        reason_code: string;
      }, {
        amount_cents: number;
        currency: string;
        reason_code: string;
      }>;
      creationTime: z$5.ZodString;
      currency: z$5.ZodString;
      id: z$5.ZodString;
      merchantId: z$5.ZodString;
      merchantOrderId: z$5.ZodString;
      merchantTransactionId: z$5.ZodString;
      status: z$5.ZodString;
      terminalId: z$5.ZodString;
      totalAuthorizedAmount: z$5.ZodString;
      totalCapturedAmount: z$5.ZodString;
      totalRefundedAmount: z$5.ZodString;
      transaction: z$5.ZodObject<{
        id: z$5.ZodString;
        amount: z$5.ZodNumber;
        currency: z$5.ZodString;
        merchant: z$5.ZodString;
        terminal: z$5.ZodString;
        type: z$5.ZodString;
      }, "strip", z$5.ZodTypeAny, {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      }, {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      }>;
    }, "strip", z$5.ZodTypeAny, {
      status: string;
      id: string;
      currency: string;
      amount: number;
      chargeback: {
        amount_cents: number;
        currency: string;
        reason_code: string;
      };
      creationTime: string;
      merchantId: string;
      merchantOrderId: string;
      merchantTransactionId: string;
      terminalId: string;
      totalAuthorizedAmount: string;
      totalCapturedAmount: string;
      totalRefundedAmount: string;
      transaction: {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      };
    }, {
      status: string;
      id: string;
      currency: string;
      amount: number;
      chargeback: {
        amount_cents: number;
        currency: string;
        reason_code: string;
      };
      creationTime: string;
      merchantId: string;
      merchantOrderId: string;
      merchantTransactionId: string;
      terminalId: string;
      totalAuthorizedAmount: string;
      totalCapturedAmount: string;
      totalRefundedAmount: string;
      transaction: {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      };
    }>;
    integration_id: z$5.ZodNumber;
    klass: z$5.ZodString;
    created_by: z$5.ZodString;
    gateway_source_data: z$5.ZodNullable<z$5.ZodUnknown>;
    secure_hash: z$5.ZodString;
    avs_result_code: z$5.ZodString;
    avs_acq_response_code: z$5.ZodString;
    acs_eci: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    is_capture: boolean;
    is_standalone_payment: boolean;
    integration_id: number;
    created_at: string;
    currency: string;
    error_occured: boolean;
    order: {
      id: number;
      amount_cents: number;
      created_at: string;
      currency: string;
      items: unknown[];
      delivery_needed: boolean;
      merchant: {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      };
      shipping_data: {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      } | null;
      is_payment_locked: boolean;
      is_return: boolean;
      is_cancel: boolean;
      is_returned: boolean;
      is_canceled: boolean;
      merchant_order_id: string | null;
      paid_amount_cents: number;
      notify_user_with_email: boolean;
      order_url: string;
      commission_fees: number;
      delivery_fees_cents: number;
      delivery_vat_cents: number;
      payment_method: string;
      merchant_staff_tag: string | null;
      api_source: string;
      delivery_status: unknown[];
      collector?: unknown;
      shipping_details?: unknown;
      wallet_notification?: unknown;
      pickup_data?: unknown;
    };
    owner: number;
    source_data: {
      type: string;
      pan: string;
      sub_type: string;
    };
    order_id: number;
    hmac: string;
    is_live: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    merchant_staff_tag: string | null;
    api_source: string;
    acquirer: {
      message: string;
      merchant_id: string;
      acquirer: string;
      terminal_id: string;
      merchant_name: string;
      merchant_city: string;
      merchant_country: string;
      settlement_amount: string;
      settlement_currency: string;
      transaction_id: string;
      auth_code: string;
      reference_number: string;
      receipt_no: string;
      batch_no: string;
      response_code: string;
      pos_entry_mode: string;
      card_data: string;
      acq_response_code: string;
      avs_acq_response_code: string;
      eci: string;
      cavv: string;
      xid: string;
      network: string;
      card_type: string;
      authentication_3ds: string;
      transaction_status: string;
      transaction_status_reason: string;
      transaction_status_info: string;
      transaction_status_details: string;
      transaction_status_details_reason: string;
      transaction_status_details_info: string;
    };
    transaction_id: string;
    avs_acq_response_code: string;
    transaction_processed_callback_responses: unknown[];
    is_void: boolean;
    is_refund: boolean;
    refunded_amount_cents: number;
    source_id: number;
    is_captured: boolean;
    captured_amount: number;
    updated_at: string;
    is_settled: boolean;
    bill_balanced: boolean;
    is_bill: boolean;
    redirect_url: string | null;
    merchant_external_link: string | null;
    use_redirection: boolean;
    rrn: string;
    migs_order: {
      status: string;
      id: string;
      currency: string;
      amount: number;
      chargeback: {
        amount_cents: number;
        currency: string;
        reason_code: string;
      };
      creationTime: string;
      merchantId: string;
      merchantOrderId: string;
      merchantTransactionId: string;
      terminalId: string;
      totalAuthorizedAmount: string;
      totalCapturedAmount: string;
      totalRefundedAmount: string;
      transaction: {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      };
    };
    klass: string;
    created_by: string;
    secure_hash: string;
    avs_result_code: string;
    acs_eci: string;
    parent_id: string;
    terminal_id?: unknown;
    payment_key_claims?: unknown;
    other_endpoint_reference?: unknown;
    parent_transaction?: unknown;
    installment?: unknown;
    gateway_source_data?: unknown;
  }, {
    is_capture: boolean;
    is_standalone_payment: boolean;
    integration_id: number;
    created_at: string;
    currency: string;
    error_occured: boolean;
    order: {
      id: number;
      amount_cents: number;
      created_at: string;
      currency: string;
      items: unknown[];
      delivery_needed: boolean;
      merchant: {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      };
      shipping_data: {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      } | null;
      is_payment_locked: boolean;
      is_return: boolean;
      is_cancel: boolean;
      is_returned: boolean;
      is_canceled: boolean;
      merchant_order_id: string | null;
      paid_amount_cents: number;
      notify_user_with_email: boolean;
      order_url: string;
      commission_fees: number;
      delivery_fees_cents: number;
      delivery_vat_cents: number;
      payment_method: string;
      merchant_staff_tag: string | null;
      api_source: string;
      delivery_status: unknown[];
      collector?: unknown;
      shipping_details?: unknown;
      wallet_notification?: unknown;
      pickup_data?: unknown;
    };
    owner: number;
    source_data: {
      type: string;
      pan: string;
      sub_type: string;
    };
    order_id: number;
    hmac: string;
    is_live: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    merchant_staff_tag: string | null;
    api_source: string;
    acquirer: {
      message: string;
      merchant_id: string;
      acquirer: string;
      terminal_id: string;
      merchant_name: string;
      merchant_city: string;
      merchant_country: string;
      settlement_amount: string;
      settlement_currency: string;
      transaction_id: string;
      auth_code: string;
      reference_number: string;
      receipt_no: string;
      batch_no: string;
      response_code: string;
      pos_entry_mode: string;
      card_data: string;
      acq_response_code: string;
      avs_acq_response_code: string;
      eci: string;
      cavv: string;
      xid: string;
      network: string;
      card_type: string;
      authentication_3ds: string;
      transaction_status: string;
      transaction_status_reason: string;
      transaction_status_info: string;
      transaction_status_details: string;
      transaction_status_details_reason: string;
      transaction_status_details_info: string;
    };
    transaction_id: string;
    avs_acq_response_code: string;
    transaction_processed_callback_responses: unknown[];
    is_void: boolean;
    is_refund: boolean;
    refunded_amount_cents: number;
    source_id: number;
    is_captured: boolean;
    captured_amount: number;
    updated_at: string;
    is_settled: boolean;
    bill_balanced: boolean;
    is_bill: boolean;
    redirect_url: string | null;
    merchant_external_link: string | null;
    use_redirection: boolean;
    rrn: string;
    migs_order: {
      status: string;
      id: string;
      currency: string;
      amount: number;
      chargeback: {
        amount_cents: number;
        currency: string;
        reason_code: string;
      };
      creationTime: string;
      merchantId: string;
      merchantOrderId: string;
      merchantTransactionId: string;
      terminalId: string;
      totalAuthorizedAmount: string;
      totalCapturedAmount: string;
      totalRefundedAmount: string;
      transaction: {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      };
    };
    klass: string;
    created_by: string;
    secure_hash: string;
    avs_result_code: string;
    acs_eci: string;
    parent_id: string;
    terminal_id?: unknown;
    payment_key_claims?: unknown;
    other_endpoint_reference?: unknown;
    parent_transaction?: unknown;
    installment?: unknown;
    gateway_source_data?: unknown;
  }>;
  id: z$5.ZodNumber;
  pending: z$5.ZodBoolean;
  amount_cents: z$5.ZodNumber;
  success: z$5.ZodBoolean;
  is_auth: z$5.ZodBoolean;
  is_standalone_payment: z$5.ZodBoolean;
  is_voided: z$5.ZodBoolean;
  is_refunded: z$5.ZodBoolean;
  is_3d_secure: z$5.ZodBoolean;
  integration_id: z$5.ZodNumber;
  profile_id: z$5.ZodNumber;
  has_parent_transaction: z$5.ZodBoolean;
  order: z$5.ZodObject<{
    id: z$5.ZodNumber;
    created_at: z$5.ZodString;
    delivery_needed: z$5.ZodBoolean;
    merchant: z$5.ZodObject<{
      id: z$5.ZodNumber;
      created_at: z$5.ZodString;
      phones: z$5.ZodArray<z$5.ZodString, "many">;
      company_emails: z$5.ZodArray<z$5.ZodString, "many">;
      company_name: z$5.ZodString;
      state: z$5.ZodString;
      country: z$5.ZodString;
      city: z$5.ZodString;
      postal_code: z$5.ZodString;
      street: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }>;
    collector: z$5.ZodNullable<z$5.ZodUnknown>;
    amount_cents: z$5.ZodNumber;
    shipping_data: z$5.ZodNullable<z$5.ZodObject<{
      id: z$5.ZodNumber;
      first_name: z$5.ZodString;
      last_name: z$5.ZodString;
      street: z$5.ZodString;
      building: z$5.ZodString;
      floor: z$5.ZodString;
      apartment: z$5.ZodString;
      city: z$5.ZodString;
      state: z$5.ZodString;
      country: z$5.ZodString;
      email: z$5.ZodString;
      phone_number: z$5.ZodString;
      postal_code: z$5.ZodString;
      extra_description: z$5.ZodString;
      shipping_method: z$5.ZodString;
      order_id: z$5.ZodNumber;
      order: z$5.ZodNumber;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    }, {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    }>>;
    shipping_details: z$5.ZodNullable<z$5.ZodUnknown>;
    currency: z$5.ZodString;
    is_payment_locked: z$5.ZodBoolean;
    is_return: z$5.ZodBoolean;
    is_cancel: z$5.ZodBoolean;
    is_returned: z$5.ZodBoolean;
    is_canceled: z$5.ZodBoolean;
    merchant_order_id: z$5.ZodNullable<z$5.ZodString>;
    wallet_notification: z$5.ZodNullable<z$5.ZodUnknown>;
    paid_amount_cents: z$5.ZodNumber;
    notify_user_with_email: z$5.ZodBoolean;
    items: z$5.ZodArray<z$5.ZodUnknown, "many">;
    order_url: z$5.ZodString;
    commission_fees: z$5.ZodNumber;
    delivery_fees_cents: z$5.ZodNumber;
    delivery_vat_cents: z$5.ZodNumber;
    payment_method: z$5.ZodString;
    merchant_staff_tag: z$5.ZodNullable<z$5.ZodString>;
    api_source: z$5.ZodString;
    pickup_data: z$5.ZodNullable<z$5.ZodUnknown>;
    delivery_status: z$5.ZodArray<z$5.ZodUnknown, "many">;
  }, "strip", z$5.ZodTypeAny, {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  }, {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  }>;
  created_at: z$5.ZodString;
  transaction_processed_callback_responses: z$5.ZodArray<z$5.ZodUnknown, "many">;
  currency: z$5.ZodString;
  source_data: z$5.ZodObject<{
    type: z$5.ZodString;
    pan: z$5.ZodString;
    sub_type: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    type: string;
    pan: string;
    sub_type: string;
  }, {
    type: string;
    pan: string;
    sub_type: string;
  }>;
  api_source: z$5.ZodString;
  terminal_id: z$5.ZodNullable<z$5.ZodUnknown>;
  merchant_commission: z$5.ZodNumber;
  installment: z$5.ZodNullable<z$5.ZodUnknown>;
  error_occured: z$5.ZodBoolean;
  refunded_amount_cents: z$5.ZodNumber;
  captured_amount: z$5.ZodNumber;
  updated_at: z$5.ZodString;
  is_settled: z$5.ZodBoolean;
  bill_balanced: z$5.ZodBoolean;
  is_bill: z$5.ZodBoolean;
  owner: z$5.ZodNumber;
  parent_transaction: z$5.ZodNumber;
}, "strip", z$5.ZodTypeAny, {
  id: number;
  pending: boolean;
  amount_cents: number;
  success: boolean;
  is_auth: boolean;
  is_capture: true;
  is_standalone_payment: boolean;
  is_voided: boolean;
  is_refunded: boolean;
  is_3d_secure: boolean;
  integration_id: number;
  has_parent_transaction: boolean;
  created_at: string;
  currency: string;
  error_occured: boolean;
  order: {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  };
  owner: number;
  source_data: {
    type: string;
    pan: string;
    sub_type: string;
  };
  api_source: string;
  transaction_processed_callback_responses: unknown[];
  is_void: false;
  is_refund: false;
  refunded_amount_cents: number;
  captured_amount: number;
  updated_at: string;
  is_settled: boolean;
  bill_balanced: boolean;
  is_bill: boolean;
  parent_transaction: number;
  profile_id: number;
  merchant_commission: number;
  data: {
    is_capture: boolean;
    is_standalone_payment: boolean;
    integration_id: number;
    created_at: string;
    currency: string;
    error_occured: boolean;
    order: {
      id: number;
      amount_cents: number;
      created_at: string;
      currency: string;
      items: unknown[];
      delivery_needed: boolean;
      merchant: {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      };
      shipping_data: {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      } | null;
      is_payment_locked: boolean;
      is_return: boolean;
      is_cancel: boolean;
      is_returned: boolean;
      is_canceled: boolean;
      merchant_order_id: string | null;
      paid_amount_cents: number;
      notify_user_with_email: boolean;
      order_url: string;
      commission_fees: number;
      delivery_fees_cents: number;
      delivery_vat_cents: number;
      payment_method: string;
      merchant_staff_tag: string | null;
      api_source: string;
      delivery_status: unknown[];
      collector?: unknown;
      shipping_details?: unknown;
      wallet_notification?: unknown;
      pickup_data?: unknown;
    };
    owner: number;
    source_data: {
      type: string;
      pan: string;
      sub_type: string;
    };
    order_id: number;
    hmac: string;
    is_live: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    merchant_staff_tag: string | null;
    api_source: string;
    acquirer: {
      message: string;
      merchant_id: string;
      acquirer: string;
      terminal_id: string;
      merchant_name: string;
      merchant_city: string;
      merchant_country: string;
      settlement_amount: string;
      settlement_currency: string;
      transaction_id: string;
      auth_code: string;
      reference_number: string;
      receipt_no: string;
      batch_no: string;
      response_code: string;
      pos_entry_mode: string;
      card_data: string;
      acq_response_code: string;
      avs_acq_response_code: string;
      eci: string;
      cavv: string;
      xid: string;
      network: string;
      card_type: string;
      authentication_3ds: string;
      transaction_status: string;
      transaction_status_reason: string;
      transaction_status_info: string;
      transaction_status_details: string;
      transaction_status_details_reason: string;
      transaction_status_details_info: string;
    };
    transaction_id: string;
    avs_acq_response_code: string;
    transaction_processed_callback_responses: unknown[];
    is_void: boolean;
    is_refund: boolean;
    refunded_amount_cents: number;
    source_id: number;
    is_captured: boolean;
    captured_amount: number;
    updated_at: string;
    is_settled: boolean;
    bill_balanced: boolean;
    is_bill: boolean;
    redirect_url: string | null;
    merchant_external_link: string | null;
    use_redirection: boolean;
    rrn: string;
    migs_order: {
      status: string;
      id: string;
      currency: string;
      amount: number;
      chargeback: {
        amount_cents: number;
        currency: string;
        reason_code: string;
      };
      creationTime: string;
      merchantId: string;
      merchantOrderId: string;
      merchantTransactionId: string;
      terminalId: string;
      totalAuthorizedAmount: string;
      totalCapturedAmount: string;
      totalRefundedAmount: string;
      transaction: {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      };
    };
    klass: string;
    created_by: string;
    secure_hash: string;
    avs_result_code: string;
    acs_eci: string;
    parent_id: string;
    terminal_id?: unknown;
    payment_key_claims?: unknown;
    other_endpoint_reference?: unknown;
    parent_transaction?: unknown;
    installment?: unknown;
    gateway_source_data?: unknown;
  };
  terminal_id?: unknown;
  installment?: unknown;
}, {
  id: number;
  pending: boolean;
  amount_cents: number;
  success: boolean;
  is_auth: boolean;
  is_capture: true;
  is_standalone_payment: boolean;
  is_voided: boolean;
  is_refunded: boolean;
  is_3d_secure: boolean;
  integration_id: number;
  has_parent_transaction: boolean;
  created_at: string;
  currency: string;
  error_occured: boolean;
  order: {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  };
  owner: number;
  source_data: {
    type: string;
    pan: string;
    sub_type: string;
  };
  api_source: string;
  transaction_processed_callback_responses: unknown[];
  is_void: false;
  is_refund: false;
  refunded_amount_cents: number;
  captured_amount: number;
  updated_at: string;
  is_settled: boolean;
  bill_balanced: boolean;
  is_bill: boolean;
  parent_transaction: number;
  profile_id: number;
  merchant_commission: number;
  data: {
    is_capture: boolean;
    is_standalone_payment: boolean;
    integration_id: number;
    created_at: string;
    currency: string;
    error_occured: boolean;
    order: {
      id: number;
      amount_cents: number;
      created_at: string;
      currency: string;
      items: unknown[];
      delivery_needed: boolean;
      merchant: {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      };
      shipping_data: {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      } | null;
      is_payment_locked: boolean;
      is_return: boolean;
      is_cancel: boolean;
      is_returned: boolean;
      is_canceled: boolean;
      merchant_order_id: string | null;
      paid_amount_cents: number;
      notify_user_with_email: boolean;
      order_url: string;
      commission_fees: number;
      delivery_fees_cents: number;
      delivery_vat_cents: number;
      payment_method: string;
      merchant_staff_tag: string | null;
      api_source: string;
      delivery_status: unknown[];
      collector?: unknown;
      shipping_details?: unknown;
      wallet_notification?: unknown;
      pickup_data?: unknown;
    };
    owner: number;
    source_data: {
      type: string;
      pan: string;
      sub_type: string;
    };
    order_id: number;
    hmac: string;
    is_live: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    merchant_staff_tag: string | null;
    api_source: string;
    acquirer: {
      message: string;
      merchant_id: string;
      acquirer: string;
      terminal_id: string;
      merchant_name: string;
      merchant_city: string;
      merchant_country: string;
      settlement_amount: string;
      settlement_currency: string;
      transaction_id: string;
      auth_code: string;
      reference_number: string;
      receipt_no: string;
      batch_no: string;
      response_code: string;
      pos_entry_mode: string;
      card_data: string;
      acq_response_code: string;
      avs_acq_response_code: string;
      eci: string;
      cavv: string;
      xid: string;
      network: string;
      card_type: string;
      authentication_3ds: string;
      transaction_status: string;
      transaction_status_reason: string;
      transaction_status_info: string;
      transaction_status_details: string;
      transaction_status_details_reason: string;
      transaction_status_details_info: string;
    };
    transaction_id: string;
    avs_acq_response_code: string;
    transaction_processed_callback_responses: unknown[];
    is_void: boolean;
    is_refund: boolean;
    refunded_amount_cents: number;
    source_id: number;
    is_captured: boolean;
    captured_amount: number;
    updated_at: string;
    is_settled: boolean;
    bill_balanced: boolean;
    is_bill: boolean;
    redirect_url: string | null;
    merchant_external_link: string | null;
    use_redirection: boolean;
    rrn: string;
    migs_order: {
      status: string;
      id: string;
      currency: string;
      amount: number;
      chargeback: {
        amount_cents: number;
        currency: string;
        reason_code: string;
      };
      creationTime: string;
      merchantId: string;
      merchantOrderId: string;
      merchantTransactionId: string;
      terminalId: string;
      totalAuthorizedAmount: string;
      totalCapturedAmount: string;
      totalRefundedAmount: string;
      transaction: {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      };
    };
    klass: string;
    created_by: string;
    secure_hash: string;
    avs_result_code: string;
    acs_eci: string;
    parent_id: string;
    terminal_id?: unknown;
    payment_key_claims?: unknown;
    other_endpoint_reference?: unknown;
    parent_transaction?: unknown;
    installment?: unknown;
    gateway_source_data?: unknown;
  };
  terminal_id?: unknown;
  installment?: unknown;
}>;
type CaptureResponse = z$5.input<typeof CaptureResponseSchema>;
/**
 * Detailed schema for Void Transaction Response based on Paymob API.
 */
declare const VoidResponseSchema: z$5.ZodObject<{
  is_void: z$5.ZodLiteral<true>;
  is_refund: z$5.ZodLiteral<false>;
  data: z$5.ZodObject<{
    transaction_id: z$5.ZodString;
    parent_id: z$5.ZodString;
    order: z$5.ZodObject<{
      id: z$5.ZodNumber;
      created_at: z$5.ZodString;
      delivery_needed: z$5.ZodBoolean;
      merchant: z$5.ZodObject<{
        id: z$5.ZodNumber;
        created_at: z$5.ZodString;
        phones: z$5.ZodArray<z$5.ZodString, "many">;
        company_emails: z$5.ZodArray<z$5.ZodString, "many">;
        company_name: z$5.ZodString;
        state: z$5.ZodString;
        country: z$5.ZodString;
        city: z$5.ZodString;
        postal_code: z$5.ZodString;
        street: z$5.ZodString;
      }, "strip", z$5.ZodTypeAny, {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      }, {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      }>;
      collector: z$5.ZodNullable<z$5.ZodUnknown>;
      amount_cents: z$5.ZodNumber;
      shipping_data: z$5.ZodNullable<z$5.ZodObject<{
        id: z$5.ZodNumber;
        first_name: z$5.ZodString;
        last_name: z$5.ZodString;
        street: z$5.ZodString;
        building: z$5.ZodString;
        floor: z$5.ZodString;
        apartment: z$5.ZodString;
        city: z$5.ZodString;
        state: z$5.ZodString;
        country: z$5.ZodString;
        email: z$5.ZodString;
        phone_number: z$5.ZodString;
        postal_code: z$5.ZodString;
        extra_description: z$5.ZodString;
        shipping_method: z$5.ZodString;
        order_id: z$5.ZodNumber;
        order: z$5.ZodNumber;
      }, "strip", z$5.ZodTypeAny, {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      }, {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      }>>;
      shipping_details: z$5.ZodNullable<z$5.ZodUnknown>;
      currency: z$5.ZodString;
      is_payment_locked: z$5.ZodBoolean;
      is_return: z$5.ZodBoolean;
      is_cancel: z$5.ZodBoolean;
      is_returned: z$5.ZodBoolean;
      is_canceled: z$5.ZodBoolean;
      merchant_order_id: z$5.ZodNullable<z$5.ZodString>;
      wallet_notification: z$5.ZodNullable<z$5.ZodUnknown>;
      paid_amount_cents: z$5.ZodNumber;
      notify_user_with_email: z$5.ZodBoolean;
      items: z$5.ZodArray<z$5.ZodUnknown, "many">;
      order_url: z$5.ZodString;
      commission_fees: z$5.ZodNumber;
      delivery_fees_cents: z$5.ZodNumber;
      delivery_vat_cents: z$5.ZodNumber;
      payment_method: z$5.ZodString;
      merchant_staff_tag: z$5.ZodNullable<z$5.ZodString>;
      api_source: z$5.ZodString;
      pickup_data: z$5.ZodNullable<z$5.ZodUnknown>;
      delivery_status: z$5.ZodArray<z$5.ZodUnknown, "many">;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      amount_cents: number;
      created_at: string;
      currency: string;
      items: unknown[];
      delivery_needed: boolean;
      merchant: {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      };
      shipping_data: {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      } | null;
      is_payment_locked: boolean;
      is_return: boolean;
      is_cancel: boolean;
      is_returned: boolean;
      is_canceled: boolean;
      merchant_order_id: string | null;
      paid_amount_cents: number;
      notify_user_with_email: boolean;
      order_url: string;
      commission_fees: number;
      delivery_fees_cents: number;
      delivery_vat_cents: number;
      payment_method: string;
      merchant_staff_tag: string | null;
      api_source: string;
      delivery_status: unknown[];
      collector?: unknown;
      shipping_details?: unknown;
      wallet_notification?: unknown;
      pickup_data?: unknown;
    }, {
      id: number;
      amount_cents: number;
      created_at: string;
      currency: string;
      items: unknown[];
      delivery_needed: boolean;
      merchant: {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      };
      shipping_data: {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      } | null;
      is_payment_locked: boolean;
      is_return: boolean;
      is_cancel: boolean;
      is_returned: boolean;
      is_canceled: boolean;
      merchant_order_id: string | null;
      paid_amount_cents: number;
      notify_user_with_email: boolean;
      order_url: string;
      commission_fees: number;
      delivery_fees_cents: number;
      delivery_vat_cents: number;
      payment_method: string;
      merchant_staff_tag: string | null;
      api_source: string;
      delivery_status: unknown[];
      collector?: unknown;
      shipping_details?: unknown;
      wallet_notification?: unknown;
      pickup_data?: unknown;
    }>;
    created_at: z$5.ZodString;
    transaction_processed_callback_responses: z$5.ZodArray<z$5.ZodUnknown, "many">;
    currency: z$5.ZodString;
    source_data: z$5.ZodObject<{
      type: z$5.ZodString;
      pan: z$5.ZodString;
      sub_type: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      type: string;
      pan: string;
      sub_type: string;
    }, {
      type: string;
      pan: string;
      sub_type: string;
    }>;
    api_source: z$5.ZodString;
    is_void: z$5.ZodBoolean;
    is_refund: z$5.ZodBoolean;
    is_capture: z$5.ZodBoolean;
    is_standalone_payment: z$5.ZodBoolean;
    payment_key_claims: z$5.ZodNullable<z$5.ZodUnknown>;
    error_occured: z$5.ZodBoolean;
    is_live: z$5.ZodBoolean;
    other_endpoint_reference: z$5.ZodNullable<z$5.ZodUnknown>;
    refunded_amount_cents: z$5.ZodNumber;
    source_id: z$5.ZodNumber;
    is_captured: z$5.ZodBoolean;
    captured_amount: z$5.ZodNumber;
    merchant_staff_tag: z$5.ZodNullable<z$5.ZodString>;
    updated_at: z$5.ZodString;
    is_settled: z$5.ZodBoolean;
    bill_balanced: z$5.ZodBoolean;
    is_bill: z$5.ZodBoolean;
    owner: z$5.ZodNumber;
    parent_transaction: z$5.ZodNullable<z$5.ZodUnknown>;
    redirect_url: z$5.ZodNullable<z$5.ZodString>;
    merchant: z$5.ZodObject<{
      id: z$5.ZodNumber;
      created_at: z$5.ZodString;
      phones: z$5.ZodArray<z$5.ZodString, "many">;
      company_emails: z$5.ZodArray<z$5.ZodString, "many">;
      company_name: z$5.ZodString;
      state: z$5.ZodString;
      country: z$5.ZodString;
      city: z$5.ZodString;
      postal_code: z$5.ZodString;
      street: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }>;
    merchant_external_link: z$5.ZodNullable<z$5.ZodString>;
    acquirer: z$5.ZodObject<{
      acquirer: z$5.ZodString;
      merchant_id: z$5.ZodString;
      terminal_id: z$5.ZodString;
      merchant_name: z$5.ZodString;
      merchant_city: z$5.ZodString;
      merchant_country: z$5.ZodString;
      settlement_amount: z$5.ZodString;
      settlement_currency: z$5.ZodString;
      transaction_id: z$5.ZodString;
      auth_code: z$5.ZodString;
      reference_number: z$5.ZodString;
      receipt_no: z$5.ZodString;
      batch_no: z$5.ZodString;
      message: z$5.ZodString;
      response_code: z$5.ZodString;
      pos_entry_mode: z$5.ZodString;
      card_data: z$5.ZodString;
      acq_response_code: z$5.ZodString;
      avs_acq_response_code: z$5.ZodString;
      eci: z$5.ZodString;
      cavv: z$5.ZodString;
      xid: z$5.ZodString;
      network: z$5.ZodString;
      card_type: z$5.ZodString;
      authentication_3ds: z$5.ZodString;
      transaction_status: z$5.ZodString;
      transaction_status_reason: z$5.ZodString;
      transaction_status_info: z$5.ZodString;
      transaction_status_details: z$5.ZodString;
      transaction_status_details_reason: z$5.ZodString;
      transaction_status_details_info: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      message: string;
      merchant_id: string;
      acquirer: string;
      terminal_id: string;
      merchant_name: string;
      merchant_city: string;
      merchant_country: string;
      settlement_amount: string;
      settlement_currency: string;
      transaction_id: string;
      auth_code: string;
      reference_number: string;
      receipt_no: string;
      batch_no: string;
      response_code: string;
      pos_entry_mode: string;
      card_data: string;
      acq_response_code: string;
      avs_acq_response_code: string;
      eci: string;
      cavv: string;
      xid: string;
      network: string;
      card_type: string;
      authentication_3ds: string;
      transaction_status: string;
      transaction_status_reason: string;
      transaction_status_info: string;
      transaction_status_details: string;
      transaction_status_details_reason: string;
      transaction_status_details_info: string;
    }, {
      message: string;
      merchant_id: string;
      acquirer: string;
      terminal_id: string;
      merchant_name: string;
      merchant_city: string;
      merchant_country: string;
      settlement_amount: string;
      settlement_currency: string;
      transaction_id: string;
      auth_code: string;
      reference_number: string;
      receipt_no: string;
      batch_no: string;
      response_code: string;
      pos_entry_mode: string;
      card_data: string;
      acq_response_code: string;
      avs_acq_response_code: string;
      eci: string;
      cavv: string;
      xid: string;
      network: string;
      card_type: string;
      authentication_3ds: string;
      transaction_status: string;
      transaction_status_reason: string;
      transaction_status_info: string;
      transaction_status_details: string;
      transaction_status_details_reason: string;
      transaction_status_details_info: string;
    }>;
    terminal_id: z$5.ZodNullable<z$5.ZodUnknown>;
    installment: z$5.ZodNullable<z$5.ZodUnknown>;
    order_id: z$5.ZodNumber;
    hmac: z$5.ZodString;
    use_redirection: z$5.ZodBoolean;
    rrn: z$5.ZodString;
    migs_order: z$5.ZodObject<{
      amount: z$5.ZodNumber;
      chargeback: z$5.ZodObject<{
        amount_cents: z$5.ZodNumber;
        currency: z$5.ZodString;
        reason_code: z$5.ZodString;
      }, "strip", z$5.ZodTypeAny, {
        amount_cents: number;
        currency: string;
        reason_code: string;
      }, {
        amount_cents: number;
        currency: string;
        reason_code: string;
      }>;
      creationTime: z$5.ZodString;
      currency: z$5.ZodString;
      id: z$5.ZodString;
      merchantId: z$5.ZodString;
      merchantOrderId: z$5.ZodString;
      merchantTransactionId: z$5.ZodString;
      status: z$5.ZodString;
      terminalId: z$5.ZodString;
      totalAuthorizedAmount: z$5.ZodString;
      totalCapturedAmount: z$5.ZodString;
      totalRefundedAmount: z$5.ZodString;
      transaction: z$5.ZodObject<{
        id: z$5.ZodString;
        amount: z$5.ZodNumber;
        currency: z$5.ZodString;
        merchant: z$5.ZodString;
        terminal: z$5.ZodString;
        type: z$5.ZodString;
      }, "strip", z$5.ZodTypeAny, {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      }, {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      }>;
    }, "strip", z$5.ZodTypeAny, {
      status: string;
      id: string;
      currency: string;
      amount: number;
      chargeback: {
        amount_cents: number;
        currency: string;
        reason_code: string;
      };
      creationTime: string;
      merchantId: string;
      merchantOrderId: string;
      merchantTransactionId: string;
      terminalId: string;
      totalAuthorizedAmount: string;
      totalCapturedAmount: string;
      totalRefundedAmount: string;
      transaction: {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      };
    }, {
      status: string;
      id: string;
      currency: string;
      amount: number;
      chargeback: {
        amount_cents: number;
        currency: string;
        reason_code: string;
      };
      creationTime: string;
      merchantId: string;
      merchantOrderId: string;
      merchantTransactionId: string;
      terminalId: string;
      totalAuthorizedAmount: string;
      totalCapturedAmount: string;
      totalRefundedAmount: string;
      transaction: {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      };
    }>;
    integration_id: z$5.ZodNumber;
    klass: z$5.ZodString;
    created_by: z$5.ZodString;
    gateway_source_data: z$5.ZodNullable<z$5.ZodUnknown>;
    secure_hash: z$5.ZodString;
    avs_result_code: z$5.ZodString;
    avs_acq_response_code: z$5.ZodString;
    acs_eci: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    is_capture: boolean;
    is_standalone_payment: boolean;
    integration_id: number;
    created_at: string;
    currency: string;
    error_occured: boolean;
    order: {
      id: number;
      amount_cents: number;
      created_at: string;
      currency: string;
      items: unknown[];
      delivery_needed: boolean;
      merchant: {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      };
      shipping_data: {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      } | null;
      is_payment_locked: boolean;
      is_return: boolean;
      is_cancel: boolean;
      is_returned: boolean;
      is_canceled: boolean;
      merchant_order_id: string | null;
      paid_amount_cents: number;
      notify_user_with_email: boolean;
      order_url: string;
      commission_fees: number;
      delivery_fees_cents: number;
      delivery_vat_cents: number;
      payment_method: string;
      merchant_staff_tag: string | null;
      api_source: string;
      delivery_status: unknown[];
      collector?: unknown;
      shipping_details?: unknown;
      wallet_notification?: unknown;
      pickup_data?: unknown;
    };
    owner: number;
    source_data: {
      type: string;
      pan: string;
      sub_type: string;
    };
    order_id: number;
    hmac: string;
    is_live: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    merchant_staff_tag: string | null;
    api_source: string;
    acquirer: {
      message: string;
      merchant_id: string;
      acquirer: string;
      terminal_id: string;
      merchant_name: string;
      merchant_city: string;
      merchant_country: string;
      settlement_amount: string;
      settlement_currency: string;
      transaction_id: string;
      auth_code: string;
      reference_number: string;
      receipt_no: string;
      batch_no: string;
      response_code: string;
      pos_entry_mode: string;
      card_data: string;
      acq_response_code: string;
      avs_acq_response_code: string;
      eci: string;
      cavv: string;
      xid: string;
      network: string;
      card_type: string;
      authentication_3ds: string;
      transaction_status: string;
      transaction_status_reason: string;
      transaction_status_info: string;
      transaction_status_details: string;
      transaction_status_details_reason: string;
      transaction_status_details_info: string;
    };
    transaction_id: string;
    avs_acq_response_code: string;
    transaction_processed_callback_responses: unknown[];
    is_void: boolean;
    is_refund: boolean;
    refunded_amount_cents: number;
    source_id: number;
    is_captured: boolean;
    captured_amount: number;
    updated_at: string;
    is_settled: boolean;
    bill_balanced: boolean;
    is_bill: boolean;
    redirect_url: string | null;
    merchant_external_link: string | null;
    use_redirection: boolean;
    rrn: string;
    migs_order: {
      status: string;
      id: string;
      currency: string;
      amount: number;
      chargeback: {
        amount_cents: number;
        currency: string;
        reason_code: string;
      };
      creationTime: string;
      merchantId: string;
      merchantOrderId: string;
      merchantTransactionId: string;
      terminalId: string;
      totalAuthorizedAmount: string;
      totalCapturedAmount: string;
      totalRefundedAmount: string;
      transaction: {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      };
    };
    klass: string;
    created_by: string;
    secure_hash: string;
    avs_result_code: string;
    acs_eci: string;
    parent_id: string;
    terminal_id?: unknown;
    payment_key_claims?: unknown;
    other_endpoint_reference?: unknown;
    parent_transaction?: unknown;
    installment?: unknown;
    gateway_source_data?: unknown;
  }, {
    is_capture: boolean;
    is_standalone_payment: boolean;
    integration_id: number;
    created_at: string;
    currency: string;
    error_occured: boolean;
    order: {
      id: number;
      amount_cents: number;
      created_at: string;
      currency: string;
      items: unknown[];
      delivery_needed: boolean;
      merchant: {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      };
      shipping_data: {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      } | null;
      is_payment_locked: boolean;
      is_return: boolean;
      is_cancel: boolean;
      is_returned: boolean;
      is_canceled: boolean;
      merchant_order_id: string | null;
      paid_amount_cents: number;
      notify_user_with_email: boolean;
      order_url: string;
      commission_fees: number;
      delivery_fees_cents: number;
      delivery_vat_cents: number;
      payment_method: string;
      merchant_staff_tag: string | null;
      api_source: string;
      delivery_status: unknown[];
      collector?: unknown;
      shipping_details?: unknown;
      wallet_notification?: unknown;
      pickup_data?: unknown;
    };
    owner: number;
    source_data: {
      type: string;
      pan: string;
      sub_type: string;
    };
    order_id: number;
    hmac: string;
    is_live: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    merchant_staff_tag: string | null;
    api_source: string;
    acquirer: {
      message: string;
      merchant_id: string;
      acquirer: string;
      terminal_id: string;
      merchant_name: string;
      merchant_city: string;
      merchant_country: string;
      settlement_amount: string;
      settlement_currency: string;
      transaction_id: string;
      auth_code: string;
      reference_number: string;
      receipt_no: string;
      batch_no: string;
      response_code: string;
      pos_entry_mode: string;
      card_data: string;
      acq_response_code: string;
      avs_acq_response_code: string;
      eci: string;
      cavv: string;
      xid: string;
      network: string;
      card_type: string;
      authentication_3ds: string;
      transaction_status: string;
      transaction_status_reason: string;
      transaction_status_info: string;
      transaction_status_details: string;
      transaction_status_details_reason: string;
      transaction_status_details_info: string;
    };
    transaction_id: string;
    avs_acq_response_code: string;
    transaction_processed_callback_responses: unknown[];
    is_void: boolean;
    is_refund: boolean;
    refunded_amount_cents: number;
    source_id: number;
    is_captured: boolean;
    captured_amount: number;
    updated_at: string;
    is_settled: boolean;
    bill_balanced: boolean;
    is_bill: boolean;
    redirect_url: string | null;
    merchant_external_link: string | null;
    use_redirection: boolean;
    rrn: string;
    migs_order: {
      status: string;
      id: string;
      currency: string;
      amount: number;
      chargeback: {
        amount_cents: number;
        currency: string;
        reason_code: string;
      };
      creationTime: string;
      merchantId: string;
      merchantOrderId: string;
      merchantTransactionId: string;
      terminalId: string;
      totalAuthorizedAmount: string;
      totalCapturedAmount: string;
      totalRefundedAmount: string;
      transaction: {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      };
    };
    klass: string;
    created_by: string;
    secure_hash: string;
    avs_result_code: string;
    acs_eci: string;
    parent_id: string;
    terminal_id?: unknown;
    payment_key_claims?: unknown;
    other_endpoint_reference?: unknown;
    parent_transaction?: unknown;
    installment?: unknown;
    gateway_source_data?: unknown;
  }>;
  id: z$5.ZodNumber;
  pending: z$5.ZodBoolean;
  amount_cents: z$5.ZodNumber;
  success: z$5.ZodBoolean;
  is_auth: z$5.ZodBoolean;
  is_capture: z$5.ZodBoolean;
  is_standalone_payment: z$5.ZodBoolean;
  is_voided: z$5.ZodBoolean;
  is_refunded: z$5.ZodBoolean;
  is_3d_secure: z$5.ZodBoolean;
  integration_id: z$5.ZodNumber;
  profile_id: z$5.ZodNumber;
  has_parent_transaction: z$5.ZodBoolean;
  order: z$5.ZodObject<{
    id: z$5.ZodNumber;
    created_at: z$5.ZodString;
    delivery_needed: z$5.ZodBoolean;
    merchant: z$5.ZodObject<{
      id: z$5.ZodNumber;
      created_at: z$5.ZodString;
      phones: z$5.ZodArray<z$5.ZodString, "many">;
      company_emails: z$5.ZodArray<z$5.ZodString, "many">;
      company_name: z$5.ZodString;
      state: z$5.ZodString;
      country: z$5.ZodString;
      city: z$5.ZodString;
      postal_code: z$5.ZodString;
      street: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }>;
    collector: z$5.ZodNullable<z$5.ZodUnknown>;
    amount_cents: z$5.ZodNumber;
    shipping_data: z$5.ZodNullable<z$5.ZodObject<{
      id: z$5.ZodNumber;
      first_name: z$5.ZodString;
      last_name: z$5.ZodString;
      street: z$5.ZodString;
      building: z$5.ZodString;
      floor: z$5.ZodString;
      apartment: z$5.ZodString;
      city: z$5.ZodString;
      state: z$5.ZodString;
      country: z$5.ZodString;
      email: z$5.ZodString;
      phone_number: z$5.ZodString;
      postal_code: z$5.ZodString;
      extra_description: z$5.ZodString;
      shipping_method: z$5.ZodString;
      order_id: z$5.ZodNumber;
      order: z$5.ZodNumber;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    }, {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    }>>;
    shipping_details: z$5.ZodNullable<z$5.ZodUnknown>;
    currency: z$5.ZodString;
    is_payment_locked: z$5.ZodBoolean;
    is_return: z$5.ZodBoolean;
    is_cancel: z$5.ZodBoolean;
    is_returned: z$5.ZodBoolean;
    is_canceled: z$5.ZodBoolean;
    merchant_order_id: z$5.ZodNullable<z$5.ZodString>;
    wallet_notification: z$5.ZodNullable<z$5.ZodUnknown>;
    paid_amount_cents: z$5.ZodNumber;
    notify_user_with_email: z$5.ZodBoolean;
    items: z$5.ZodArray<z$5.ZodUnknown, "many">;
    order_url: z$5.ZodString;
    commission_fees: z$5.ZodNumber;
    delivery_fees_cents: z$5.ZodNumber;
    delivery_vat_cents: z$5.ZodNumber;
    payment_method: z$5.ZodString;
    merchant_staff_tag: z$5.ZodNullable<z$5.ZodString>;
    api_source: z$5.ZodString;
    pickup_data: z$5.ZodNullable<z$5.ZodUnknown>;
    delivery_status: z$5.ZodArray<z$5.ZodUnknown, "many">;
  }, "strip", z$5.ZodTypeAny, {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  }, {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  }>;
  created_at: z$5.ZodString;
  transaction_processed_callback_responses: z$5.ZodArray<z$5.ZodUnknown, "many">;
  currency: z$5.ZodString;
  source_data: z$5.ZodObject<{
    type: z$5.ZodString;
    pan: z$5.ZodString;
    sub_type: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    type: string;
    pan: string;
    sub_type: string;
  }, {
    type: string;
    pan: string;
    sub_type: string;
  }>;
  api_source: z$5.ZodString;
  terminal_id: z$5.ZodNullable<z$5.ZodUnknown>;
  merchant_commission: z$5.ZodNumber;
  installment: z$5.ZodNullable<z$5.ZodUnknown>;
  error_occured: z$5.ZodBoolean;
  refunded_amount_cents: z$5.ZodNumber;
  captured_amount: z$5.ZodNumber;
  updated_at: z$5.ZodString;
  is_settled: z$5.ZodBoolean;
  bill_balanced: z$5.ZodBoolean;
  is_bill: z$5.ZodBoolean;
  owner: z$5.ZodNumber;
  parent_transaction: z$5.ZodNumber;
}, "strip", z$5.ZodTypeAny, {
  id: number;
  pending: boolean;
  amount_cents: number;
  success: boolean;
  is_auth: boolean;
  is_capture: boolean;
  is_standalone_payment: boolean;
  is_voided: boolean;
  is_refunded: boolean;
  is_3d_secure: boolean;
  integration_id: number;
  has_parent_transaction: boolean;
  created_at: string;
  currency: string;
  error_occured: boolean;
  order: {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  };
  owner: number;
  source_data: {
    type: string;
    pan: string;
    sub_type: string;
  };
  api_source: string;
  transaction_processed_callback_responses: unknown[];
  is_void: true;
  is_refund: false;
  refunded_amount_cents: number;
  captured_amount: number;
  updated_at: string;
  is_settled: boolean;
  bill_balanced: boolean;
  is_bill: boolean;
  parent_transaction: number;
  profile_id: number;
  merchant_commission: number;
  data: {
    is_capture: boolean;
    is_standalone_payment: boolean;
    integration_id: number;
    created_at: string;
    currency: string;
    error_occured: boolean;
    order: {
      id: number;
      amount_cents: number;
      created_at: string;
      currency: string;
      items: unknown[];
      delivery_needed: boolean;
      merchant: {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      };
      shipping_data: {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      } | null;
      is_payment_locked: boolean;
      is_return: boolean;
      is_cancel: boolean;
      is_returned: boolean;
      is_canceled: boolean;
      merchant_order_id: string | null;
      paid_amount_cents: number;
      notify_user_with_email: boolean;
      order_url: string;
      commission_fees: number;
      delivery_fees_cents: number;
      delivery_vat_cents: number;
      payment_method: string;
      merchant_staff_tag: string | null;
      api_source: string;
      delivery_status: unknown[];
      collector?: unknown;
      shipping_details?: unknown;
      wallet_notification?: unknown;
      pickup_data?: unknown;
    };
    owner: number;
    source_data: {
      type: string;
      pan: string;
      sub_type: string;
    };
    order_id: number;
    hmac: string;
    is_live: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    merchant_staff_tag: string | null;
    api_source: string;
    acquirer: {
      message: string;
      merchant_id: string;
      acquirer: string;
      terminal_id: string;
      merchant_name: string;
      merchant_city: string;
      merchant_country: string;
      settlement_amount: string;
      settlement_currency: string;
      transaction_id: string;
      auth_code: string;
      reference_number: string;
      receipt_no: string;
      batch_no: string;
      response_code: string;
      pos_entry_mode: string;
      card_data: string;
      acq_response_code: string;
      avs_acq_response_code: string;
      eci: string;
      cavv: string;
      xid: string;
      network: string;
      card_type: string;
      authentication_3ds: string;
      transaction_status: string;
      transaction_status_reason: string;
      transaction_status_info: string;
      transaction_status_details: string;
      transaction_status_details_reason: string;
      transaction_status_details_info: string;
    };
    transaction_id: string;
    avs_acq_response_code: string;
    transaction_processed_callback_responses: unknown[];
    is_void: boolean;
    is_refund: boolean;
    refunded_amount_cents: number;
    source_id: number;
    is_captured: boolean;
    captured_amount: number;
    updated_at: string;
    is_settled: boolean;
    bill_balanced: boolean;
    is_bill: boolean;
    redirect_url: string | null;
    merchant_external_link: string | null;
    use_redirection: boolean;
    rrn: string;
    migs_order: {
      status: string;
      id: string;
      currency: string;
      amount: number;
      chargeback: {
        amount_cents: number;
        currency: string;
        reason_code: string;
      };
      creationTime: string;
      merchantId: string;
      merchantOrderId: string;
      merchantTransactionId: string;
      terminalId: string;
      totalAuthorizedAmount: string;
      totalCapturedAmount: string;
      totalRefundedAmount: string;
      transaction: {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      };
    };
    klass: string;
    created_by: string;
    secure_hash: string;
    avs_result_code: string;
    acs_eci: string;
    parent_id: string;
    terminal_id?: unknown;
    payment_key_claims?: unknown;
    other_endpoint_reference?: unknown;
    parent_transaction?: unknown;
    installment?: unknown;
    gateway_source_data?: unknown;
  };
  terminal_id?: unknown;
  installment?: unknown;
}, {
  id: number;
  pending: boolean;
  amount_cents: number;
  success: boolean;
  is_auth: boolean;
  is_capture: boolean;
  is_standalone_payment: boolean;
  is_voided: boolean;
  is_refunded: boolean;
  is_3d_secure: boolean;
  integration_id: number;
  has_parent_transaction: boolean;
  created_at: string;
  currency: string;
  error_occured: boolean;
  order: {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  };
  owner: number;
  source_data: {
    type: string;
    pan: string;
    sub_type: string;
  };
  api_source: string;
  transaction_processed_callback_responses: unknown[];
  is_void: true;
  is_refund: false;
  refunded_amount_cents: number;
  captured_amount: number;
  updated_at: string;
  is_settled: boolean;
  bill_balanced: boolean;
  is_bill: boolean;
  parent_transaction: number;
  profile_id: number;
  merchant_commission: number;
  data: {
    is_capture: boolean;
    is_standalone_payment: boolean;
    integration_id: number;
    created_at: string;
    currency: string;
    error_occured: boolean;
    order: {
      id: number;
      amount_cents: number;
      created_at: string;
      currency: string;
      items: unknown[];
      delivery_needed: boolean;
      merchant: {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      };
      shipping_data: {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      } | null;
      is_payment_locked: boolean;
      is_return: boolean;
      is_cancel: boolean;
      is_returned: boolean;
      is_canceled: boolean;
      merchant_order_id: string | null;
      paid_amount_cents: number;
      notify_user_with_email: boolean;
      order_url: string;
      commission_fees: number;
      delivery_fees_cents: number;
      delivery_vat_cents: number;
      payment_method: string;
      merchant_staff_tag: string | null;
      api_source: string;
      delivery_status: unknown[];
      collector?: unknown;
      shipping_details?: unknown;
      wallet_notification?: unknown;
      pickup_data?: unknown;
    };
    owner: number;
    source_data: {
      type: string;
      pan: string;
      sub_type: string;
    };
    order_id: number;
    hmac: string;
    is_live: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    merchant_staff_tag: string | null;
    api_source: string;
    acquirer: {
      message: string;
      merchant_id: string;
      acquirer: string;
      terminal_id: string;
      merchant_name: string;
      merchant_city: string;
      merchant_country: string;
      settlement_amount: string;
      settlement_currency: string;
      transaction_id: string;
      auth_code: string;
      reference_number: string;
      receipt_no: string;
      batch_no: string;
      response_code: string;
      pos_entry_mode: string;
      card_data: string;
      acq_response_code: string;
      avs_acq_response_code: string;
      eci: string;
      cavv: string;
      xid: string;
      network: string;
      card_type: string;
      authentication_3ds: string;
      transaction_status: string;
      transaction_status_reason: string;
      transaction_status_info: string;
      transaction_status_details: string;
      transaction_status_details_reason: string;
      transaction_status_details_info: string;
    };
    transaction_id: string;
    avs_acq_response_code: string;
    transaction_processed_callback_responses: unknown[];
    is_void: boolean;
    is_refund: boolean;
    refunded_amount_cents: number;
    source_id: number;
    is_captured: boolean;
    captured_amount: number;
    updated_at: string;
    is_settled: boolean;
    bill_balanced: boolean;
    is_bill: boolean;
    redirect_url: string | null;
    merchant_external_link: string | null;
    use_redirection: boolean;
    rrn: string;
    migs_order: {
      status: string;
      id: string;
      currency: string;
      amount: number;
      chargeback: {
        amount_cents: number;
        currency: string;
        reason_code: string;
      };
      creationTime: string;
      merchantId: string;
      merchantOrderId: string;
      merchantTransactionId: string;
      terminalId: string;
      totalAuthorizedAmount: string;
      totalCapturedAmount: string;
      totalRefundedAmount: string;
      transaction: {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      };
    };
    klass: string;
    created_by: string;
    secure_hash: string;
    avs_result_code: string;
    acs_eci: string;
    parent_id: string;
    terminal_id?: unknown;
    payment_key_claims?: unknown;
    other_endpoint_reference?: unknown;
    parent_transaction?: unknown;
    installment?: unknown;
    gateway_source_data?: unknown;
  };
  terminal_id?: unknown;
  installment?: unknown;
}>;
type VoidResponse = z$5.input<typeof VoidResponseSchema>;
/**
 * Schema for retrieving a transaction response from Paymob API.
 */
declare const TransactionResponseSchema: z$5.ZodObject<{
  is_standalone_payment: z$5.ZodBoolean;
  has_parent_transaction: z$5.ZodBoolean;
  data: z$5.ZodObject<{
    transaction_id: z$5.ZodString;
    migs_order: z$5.ZodObject<{
      acceptPartialAmount: z$5.ZodBoolean;
      authenticationStatus: z$5.ZodString;
      status: z$5.ZodString;
      totalAuthorizedAmount: z$5.ZodNullable<z$5.ZodUnion<[z$5.ZodNumber, z$5.ZodNull]>>;
      totalCapturedAmount: z$5.ZodNullable<z$5.ZodUnion<[z$5.ZodNumber, z$5.ZodNull]>>;
      amount: z$5.ZodNumber;
      chargeback: z$5.ZodObject<{
        amount_cents: z$5.ZodNumber;
        currency: z$5.ZodString;
        reason_code: z$5.ZodString;
      }, "strip", z$5.ZodTypeAny, {
        amount_cents: number;
        currency: string;
        reason_code: string;
      }, {
        amount_cents: number;
        currency: string;
        reason_code: string;
      }>;
      creationTime: z$5.ZodString;
      currency: z$5.ZodString;
      id: z$5.ZodString;
      merchantId: z$5.ZodString;
      merchantOrderId: z$5.ZodString;
      merchantTransactionId: z$5.ZodString;
      terminalId: z$5.ZodString;
      totalRefundedAmount: z$5.ZodString;
      transaction: z$5.ZodObject<{
        id: z$5.ZodString;
        amount: z$5.ZodNumber;
        currency: z$5.ZodString;
        merchant: z$5.ZodString;
        terminal: z$5.ZodString;
        type: z$5.ZodString;
      }, "strip", z$5.ZodTypeAny, {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      }, {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      }>;
    }, "strip", z$5.ZodTypeAny, {
      status: string;
      id: string;
      currency: string;
      amount: number;
      chargeback: {
        amount_cents: number;
        currency: string;
        reason_code: string;
      };
      creationTime: string;
      merchantId: string;
      merchantOrderId: string;
      merchantTransactionId: string;
      terminalId: string;
      totalAuthorizedAmount: number | null;
      totalCapturedAmount: number | null;
      totalRefundedAmount: string;
      transaction: {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      };
      acceptPartialAmount: boolean;
      authenticationStatus: string;
    }, {
      status: string;
      id: string;
      currency: string;
      amount: number;
      chargeback: {
        amount_cents: number;
        currency: string;
        reason_code: string;
      };
      creationTime: string;
      merchantId: string;
      merchantOrderId: string;
      merchantTransactionId: string;
      terminalId: string;
      totalAuthorizedAmount: number | null;
      totalCapturedAmount: number | null;
      totalRefundedAmount: string;
      transaction: {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      };
      acceptPartialAmount: boolean;
      authenticationStatus: string;
    }>;
    migs_transaction: z$5.ZodObject<{
      authenticationStatus: z$5.ZodString;
      authorizationResponse: z$5.ZodObject<{
        stan: z$5.ZodString;
        authorizationCode: z$5.ZodString;
        responseCode: z$5.ZodString;
        responseMessage: z$5.ZodString;
      }, "strip", z$5.ZodTypeAny, {
        stan: string;
        authorizationCode: string;
        responseCode: string;
        responseMessage: string;
      }, {
        stan: string;
        authorizationCode: string;
        responseCode: string;
        responseMessage: string;
      }>;
      receipt: z$5.ZodString;
      type: z$5.ZodLiteral<"PAYMENT">;
      status: z$5.ZodString;
      id: z$5.ZodString;
      amount: z$5.ZodNumber;
      currency: z$5.ZodString;
      merchant: z$5.ZodString;
      terminal: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      type: "PAYMENT";
      status: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
      authenticationStatus: string;
      authorizationResponse: {
        stan: string;
        authorizationCode: string;
        responseCode: string;
        responseMessage: string;
      };
      receipt: string;
    }, {
      type: "PAYMENT";
      status: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
      authenticationStatus: string;
      authorizationResponse: {
        stan: string;
        authorizationCode: string;
        responseCode: string;
        responseMessage: string;
      };
      receipt: string;
    }>;
    order: z$5.ZodObject<{
      id: z$5.ZodNumber;
      created_at: z$5.ZodString;
      delivery_needed: z$5.ZodBoolean;
      merchant: z$5.ZodObject<{
        id: z$5.ZodNumber;
        created_at: z$5.ZodString;
        phones: z$5.ZodArray<z$5.ZodString, "many">;
        company_emails: z$5.ZodArray<z$5.ZodString, "many">;
        company_name: z$5.ZodString;
        state: z$5.ZodString;
        country: z$5.ZodString;
        city: z$5.ZodString;
        postal_code: z$5.ZodString;
        street: z$5.ZodString;
      }, "strip", z$5.ZodTypeAny, {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      }, {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      }>;
      collector: z$5.ZodNullable<z$5.ZodUnknown>;
      amount_cents: z$5.ZodNumber;
      shipping_data: z$5.ZodNullable<z$5.ZodObject<{
        id: z$5.ZodNumber;
        first_name: z$5.ZodString;
        last_name: z$5.ZodString;
        street: z$5.ZodString;
        building: z$5.ZodString;
        floor: z$5.ZodString;
        apartment: z$5.ZodString;
        city: z$5.ZodString;
        state: z$5.ZodString;
        country: z$5.ZodString;
        email: z$5.ZodString;
        phone_number: z$5.ZodString;
        postal_code: z$5.ZodString;
        extra_description: z$5.ZodString;
        shipping_method: z$5.ZodString;
        order_id: z$5.ZodNumber;
        order: z$5.ZodNumber;
      }, "strip", z$5.ZodTypeAny, {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      }, {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      }>>;
      shipping_details: z$5.ZodNullable<z$5.ZodUnknown>;
      currency: z$5.ZodString;
      is_payment_locked: z$5.ZodBoolean;
      is_return: z$5.ZodBoolean;
      is_cancel: z$5.ZodBoolean;
      is_returned: z$5.ZodBoolean;
      is_canceled: z$5.ZodBoolean;
      merchant_order_id: z$5.ZodNullable<z$5.ZodString>;
      wallet_notification: z$5.ZodNullable<z$5.ZodUnknown>;
      paid_amount_cents: z$5.ZodNumber;
      notify_user_with_email: z$5.ZodBoolean;
      items: z$5.ZodArray<z$5.ZodUnknown, "many">;
      order_url: z$5.ZodString;
      commission_fees: z$5.ZodNumber;
      delivery_fees_cents: z$5.ZodNumber;
      delivery_vat_cents: z$5.ZodNumber;
      payment_method: z$5.ZodString;
      merchant_staff_tag: z$5.ZodNullable<z$5.ZodString>;
      api_source: z$5.ZodString;
      pickup_data: z$5.ZodNullable<z$5.ZodUnknown>;
      delivery_status: z$5.ZodArray<z$5.ZodUnknown, "many">;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      amount_cents: number;
      created_at: string;
      currency: string;
      items: unknown[];
      delivery_needed: boolean;
      merchant: {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      };
      shipping_data: {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      } | null;
      is_payment_locked: boolean;
      is_return: boolean;
      is_cancel: boolean;
      is_returned: boolean;
      is_canceled: boolean;
      merchant_order_id: string | null;
      paid_amount_cents: number;
      notify_user_with_email: boolean;
      order_url: string;
      commission_fees: number;
      delivery_fees_cents: number;
      delivery_vat_cents: number;
      payment_method: string;
      merchant_staff_tag: string | null;
      api_source: string;
      delivery_status: unknown[];
      collector?: unknown;
      shipping_details?: unknown;
      wallet_notification?: unknown;
      pickup_data?: unknown;
    }, {
      id: number;
      amount_cents: number;
      created_at: string;
      currency: string;
      items: unknown[];
      delivery_needed: boolean;
      merchant: {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      };
      shipping_data: {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      } | null;
      is_payment_locked: boolean;
      is_return: boolean;
      is_cancel: boolean;
      is_returned: boolean;
      is_canceled: boolean;
      merchant_order_id: string | null;
      paid_amount_cents: number;
      notify_user_with_email: boolean;
      order_url: string;
      commission_fees: number;
      delivery_fees_cents: number;
      delivery_vat_cents: number;
      payment_method: string;
      merchant_staff_tag: string | null;
      api_source: string;
      delivery_status: unknown[];
      collector?: unknown;
      shipping_details?: unknown;
      wallet_notification?: unknown;
      pickup_data?: unknown;
    }>;
    created_at: z$5.ZodString;
    transaction_processed_callback_responses: z$5.ZodArray<z$5.ZodUnknown, "many">;
    currency: z$5.ZodString;
    source_data: z$5.ZodObject<{
      type: z$5.ZodString;
      pan: z$5.ZodString;
      sub_type: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      type: string;
      pan: string;
      sub_type: string;
    }, {
      type: string;
      pan: string;
      sub_type: string;
    }>;
    api_source: z$5.ZodString;
    is_void: z$5.ZodBoolean;
    is_refund: z$5.ZodBoolean;
    is_capture: z$5.ZodBoolean;
    is_standalone_payment: z$5.ZodBoolean;
    payment_key_claims: z$5.ZodNullable<z$5.ZodUnknown>;
    error_occured: z$5.ZodBoolean;
    is_live: z$5.ZodBoolean;
    other_endpoint_reference: z$5.ZodNullable<z$5.ZodUnknown>;
    refunded_amount_cents: z$5.ZodNumber;
    source_id: z$5.ZodNumber;
    is_captured: z$5.ZodBoolean;
    captured_amount: z$5.ZodNumber;
    merchant_staff_tag: z$5.ZodNullable<z$5.ZodString>;
    updated_at: z$5.ZodString;
    is_settled: z$5.ZodBoolean;
    bill_balanced: z$5.ZodBoolean;
    is_bill: z$5.ZodBoolean;
    owner: z$5.ZodNumber;
    parent_transaction: z$5.ZodNullable<z$5.ZodUnknown>;
    redirect_url: z$5.ZodNullable<z$5.ZodString>;
    merchant: z$5.ZodObject<{
      id: z$5.ZodNumber;
      created_at: z$5.ZodString;
      phones: z$5.ZodArray<z$5.ZodString, "many">;
      company_emails: z$5.ZodArray<z$5.ZodString, "many">;
      company_name: z$5.ZodString;
      state: z$5.ZodString;
      country: z$5.ZodString;
      city: z$5.ZodString;
      postal_code: z$5.ZodString;
      street: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }>;
    merchant_external_link: z$5.ZodNullable<z$5.ZodString>;
    acquirer: z$5.ZodObject<{
      acquirer: z$5.ZodString;
      merchant_id: z$5.ZodString;
      terminal_id: z$5.ZodString;
      merchant_name: z$5.ZodString;
      merchant_city: z$5.ZodString;
      merchant_country: z$5.ZodString;
      settlement_amount: z$5.ZodString;
      settlement_currency: z$5.ZodString;
      transaction_id: z$5.ZodString;
      auth_code: z$5.ZodString;
      reference_number: z$5.ZodString;
      receipt_no: z$5.ZodString;
      batch_no: z$5.ZodString;
      message: z$5.ZodString;
      response_code: z$5.ZodString;
      pos_entry_mode: z$5.ZodString;
      card_data: z$5.ZodString;
      acq_response_code: z$5.ZodString;
      avs_acq_response_code: z$5.ZodString;
      eci: z$5.ZodString;
      cavv: z$5.ZodString;
      xid: z$5.ZodString;
      network: z$5.ZodString;
      card_type: z$5.ZodString;
      authentication_3ds: z$5.ZodString;
      transaction_status: z$5.ZodString;
      transaction_status_reason: z$5.ZodString;
      transaction_status_info: z$5.ZodString;
      transaction_status_details: z$5.ZodString;
      transaction_status_details_reason: z$5.ZodString;
      transaction_status_details_info: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      message: string;
      merchant_id: string;
      acquirer: string;
      terminal_id: string;
      merchant_name: string;
      merchant_city: string;
      merchant_country: string;
      settlement_amount: string;
      settlement_currency: string;
      transaction_id: string;
      auth_code: string;
      reference_number: string;
      receipt_no: string;
      batch_no: string;
      response_code: string;
      pos_entry_mode: string;
      card_data: string;
      acq_response_code: string;
      avs_acq_response_code: string;
      eci: string;
      cavv: string;
      xid: string;
      network: string;
      card_type: string;
      authentication_3ds: string;
      transaction_status: string;
      transaction_status_reason: string;
      transaction_status_info: string;
      transaction_status_details: string;
      transaction_status_details_reason: string;
      transaction_status_details_info: string;
    }, {
      message: string;
      merchant_id: string;
      acquirer: string;
      terminal_id: string;
      merchant_name: string;
      merchant_city: string;
      merchant_country: string;
      settlement_amount: string;
      settlement_currency: string;
      transaction_id: string;
      auth_code: string;
      reference_number: string;
      receipt_no: string;
      batch_no: string;
      response_code: string;
      pos_entry_mode: string;
      card_data: string;
      acq_response_code: string;
      avs_acq_response_code: string;
      eci: string;
      cavv: string;
      xid: string;
      network: string;
      card_type: string;
      authentication_3ds: string;
      transaction_status: string;
      transaction_status_reason: string;
      transaction_status_info: string;
      transaction_status_details: string;
      transaction_status_details_reason: string;
      transaction_status_details_info: string;
    }>;
    terminal_id: z$5.ZodNullable<z$5.ZodUnknown>;
    installment: z$5.ZodNullable<z$5.ZodUnknown>;
    order_id: z$5.ZodNumber;
    hmac: z$5.ZodString;
    use_redirection: z$5.ZodBoolean;
    rrn: z$5.ZodString;
    integration_id: z$5.ZodNumber;
    klass: z$5.ZodString;
    created_by: z$5.ZodString;
    gateway_source_data: z$5.ZodNullable<z$5.ZodUnknown>;
    secure_hash: z$5.ZodString;
    avs_result_code: z$5.ZodString;
    avs_acq_response_code: z$5.ZodString;
    acs_eci: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    is_capture: boolean;
    is_standalone_payment: boolean;
    integration_id: number;
    created_at: string;
    currency: string;
    error_occured: boolean;
    order: {
      id: number;
      amount_cents: number;
      created_at: string;
      currency: string;
      items: unknown[];
      delivery_needed: boolean;
      merchant: {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      };
      shipping_data: {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      } | null;
      is_payment_locked: boolean;
      is_return: boolean;
      is_cancel: boolean;
      is_returned: boolean;
      is_canceled: boolean;
      merchant_order_id: string | null;
      paid_amount_cents: number;
      notify_user_with_email: boolean;
      order_url: string;
      commission_fees: number;
      delivery_fees_cents: number;
      delivery_vat_cents: number;
      payment_method: string;
      merchant_staff_tag: string | null;
      api_source: string;
      delivery_status: unknown[];
      collector?: unknown;
      shipping_details?: unknown;
      wallet_notification?: unknown;
      pickup_data?: unknown;
    };
    owner: number;
    source_data: {
      type: string;
      pan: string;
      sub_type: string;
    };
    order_id: number;
    hmac: string;
    is_live: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    merchant_staff_tag: string | null;
    api_source: string;
    acquirer: {
      message: string;
      merchant_id: string;
      acquirer: string;
      terminal_id: string;
      merchant_name: string;
      merchant_city: string;
      merchant_country: string;
      settlement_amount: string;
      settlement_currency: string;
      transaction_id: string;
      auth_code: string;
      reference_number: string;
      receipt_no: string;
      batch_no: string;
      response_code: string;
      pos_entry_mode: string;
      card_data: string;
      acq_response_code: string;
      avs_acq_response_code: string;
      eci: string;
      cavv: string;
      xid: string;
      network: string;
      card_type: string;
      authentication_3ds: string;
      transaction_status: string;
      transaction_status_reason: string;
      transaction_status_info: string;
      transaction_status_details: string;
      transaction_status_details_reason: string;
      transaction_status_details_info: string;
    };
    transaction_id: string;
    avs_acq_response_code: string;
    transaction_processed_callback_responses: unknown[];
    is_void: boolean;
    is_refund: boolean;
    refunded_amount_cents: number;
    source_id: number;
    is_captured: boolean;
    captured_amount: number;
    updated_at: string;
    is_settled: boolean;
    bill_balanced: boolean;
    is_bill: boolean;
    redirect_url: string | null;
    merchant_external_link: string | null;
    use_redirection: boolean;
    rrn: string;
    migs_order: {
      status: string;
      id: string;
      currency: string;
      amount: number;
      chargeback: {
        amount_cents: number;
        currency: string;
        reason_code: string;
      };
      creationTime: string;
      merchantId: string;
      merchantOrderId: string;
      merchantTransactionId: string;
      terminalId: string;
      totalAuthorizedAmount: number | null;
      totalCapturedAmount: number | null;
      totalRefundedAmount: string;
      transaction: {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      };
      acceptPartialAmount: boolean;
      authenticationStatus: string;
    };
    klass: string;
    created_by: string;
    secure_hash: string;
    avs_result_code: string;
    acs_eci: string;
    migs_transaction: {
      type: "PAYMENT";
      status: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
      authenticationStatus: string;
      authorizationResponse: {
        stan: string;
        authorizationCode: string;
        responseCode: string;
        responseMessage: string;
      };
      receipt: string;
    };
    terminal_id?: unknown;
    payment_key_claims?: unknown;
    other_endpoint_reference?: unknown;
    parent_transaction?: unknown;
    installment?: unknown;
    gateway_source_data?: unknown;
  }, {
    is_capture: boolean;
    is_standalone_payment: boolean;
    integration_id: number;
    created_at: string;
    currency: string;
    error_occured: boolean;
    order: {
      id: number;
      amount_cents: number;
      created_at: string;
      currency: string;
      items: unknown[];
      delivery_needed: boolean;
      merchant: {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      };
      shipping_data: {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      } | null;
      is_payment_locked: boolean;
      is_return: boolean;
      is_cancel: boolean;
      is_returned: boolean;
      is_canceled: boolean;
      merchant_order_id: string | null;
      paid_amount_cents: number;
      notify_user_with_email: boolean;
      order_url: string;
      commission_fees: number;
      delivery_fees_cents: number;
      delivery_vat_cents: number;
      payment_method: string;
      merchant_staff_tag: string | null;
      api_source: string;
      delivery_status: unknown[];
      collector?: unknown;
      shipping_details?: unknown;
      wallet_notification?: unknown;
      pickup_data?: unknown;
    };
    owner: number;
    source_data: {
      type: string;
      pan: string;
      sub_type: string;
    };
    order_id: number;
    hmac: string;
    is_live: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    merchant_staff_tag: string | null;
    api_source: string;
    acquirer: {
      message: string;
      merchant_id: string;
      acquirer: string;
      terminal_id: string;
      merchant_name: string;
      merchant_city: string;
      merchant_country: string;
      settlement_amount: string;
      settlement_currency: string;
      transaction_id: string;
      auth_code: string;
      reference_number: string;
      receipt_no: string;
      batch_no: string;
      response_code: string;
      pos_entry_mode: string;
      card_data: string;
      acq_response_code: string;
      avs_acq_response_code: string;
      eci: string;
      cavv: string;
      xid: string;
      network: string;
      card_type: string;
      authentication_3ds: string;
      transaction_status: string;
      transaction_status_reason: string;
      transaction_status_info: string;
      transaction_status_details: string;
      transaction_status_details_reason: string;
      transaction_status_details_info: string;
    };
    transaction_id: string;
    avs_acq_response_code: string;
    transaction_processed_callback_responses: unknown[];
    is_void: boolean;
    is_refund: boolean;
    refunded_amount_cents: number;
    source_id: number;
    is_captured: boolean;
    captured_amount: number;
    updated_at: string;
    is_settled: boolean;
    bill_balanced: boolean;
    is_bill: boolean;
    redirect_url: string | null;
    merchant_external_link: string | null;
    use_redirection: boolean;
    rrn: string;
    migs_order: {
      status: string;
      id: string;
      currency: string;
      amount: number;
      chargeback: {
        amount_cents: number;
        currency: string;
        reason_code: string;
      };
      creationTime: string;
      merchantId: string;
      merchantOrderId: string;
      merchantTransactionId: string;
      terminalId: string;
      totalAuthorizedAmount: number | null;
      totalCapturedAmount: number | null;
      totalRefundedAmount: string;
      transaction: {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      };
      acceptPartialAmount: boolean;
      authenticationStatus: string;
    };
    klass: string;
    created_by: string;
    secure_hash: string;
    avs_result_code: string;
    acs_eci: string;
    migs_transaction: {
      type: "PAYMENT";
      status: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
      authenticationStatus: string;
      authorizationResponse: {
        stan: string;
        authorizationCode: string;
        responseCode: string;
        responseMessage: string;
      };
      receipt: string;
    };
    terminal_id?: unknown;
    payment_key_claims?: unknown;
    other_endpoint_reference?: unknown;
    parent_transaction?: unknown;
    installment?: unknown;
    gateway_source_data?: unknown;
  }>;
  payment_key_claims: z$5.ZodOptional<z$5.ZodObject<{
    user_id: z$5.ZodNumber;
    amount_cents: z$5.ZodNumber;
    currency: z$5.ZodString;
    integration_id: z$5.ZodNumber;
    order_id: z$5.ZodNumber;
    billing_data: z$5.ZodObject<{
      apartment: z$5.ZodString;
      email: z$5.ZodString;
      floor: z$5.ZodString;
      first_name: z$5.ZodString;
      street: z$5.ZodString;
      building: z$5.ZodString;
      phone_number: z$5.ZodString;
      shipping_method: z$5.ZodString;
      postal_code: z$5.ZodString;
      city: z$5.ZodString;
      country: z$5.ZodString;
      last_name: z$5.ZodString;
      state: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      email: string;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      shipping_method: string;
    }, {
      email: string;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      shipping_method: string;
    }>;
    lock_order_when_paid: z$5.ZodBoolean;
    extra: z$5.ZodObject<{}, "passthrough", z$5.ZodTypeAny, z$5.objectOutputType<{}, z$5.ZodTypeAny, "passthrough">, z$5.objectInputType<{}, z$5.ZodTypeAny, "passthrough">>;
    notification_url: z$5.ZodString;
    redirection_url: z$5.ZodString;
    single_payment_attempt: z$5.ZodBoolean;
    exp: z$5.ZodNumber;
    pmk_ip: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    amount_cents: number;
    integration_id: number;
    currency: string;
    order_id: number;
    notification_url: string;
    redirection_url: string;
    billing_data: {
      email: string;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      shipping_method: string;
    };
    user_id: number;
    lock_order_when_paid: boolean;
    extra: {} & {
      [k: string]: unknown;
    };
    single_payment_attempt: boolean;
    exp: number;
    pmk_ip: string;
  }, {
    amount_cents: number;
    integration_id: number;
    currency: string;
    order_id: number;
    notification_url: string;
    redirection_url: string;
    billing_data: {
      email: string;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      shipping_method: string;
    };
    user_id: number;
    lock_order_when_paid: boolean;
    extra: {} & {
      [k: string]: unknown;
    };
    single_payment_attempt: boolean;
    exp: number;
    pmk_ip: string;
  }>>;
  parent_transaction: z$5.ZodOptional<z$5.ZodString>;
  unique_ref: z$5.ZodString;
  id: z$5.ZodNumber;
  pending: z$5.ZodBoolean;
  amount_cents: z$5.ZodNumber;
  success: z$5.ZodBoolean;
  is_auth: z$5.ZodBoolean;
  is_capture: z$5.ZodBoolean;
  is_void: z$5.ZodBoolean;
  is_refund: z$5.ZodBoolean;
  is_voided: z$5.ZodBoolean;
  is_refunded: z$5.ZodBoolean;
  is_3d_secure: z$5.ZodBoolean;
  integration_id: z$5.ZodNumber;
  profile_id: z$5.ZodNumber;
  order: z$5.ZodObject<{
    id: z$5.ZodNumber;
    created_at: z$5.ZodString;
    delivery_needed: z$5.ZodBoolean;
    merchant: z$5.ZodObject<{
      id: z$5.ZodNumber;
      created_at: z$5.ZodString;
      phones: z$5.ZodArray<z$5.ZodString, "many">;
      company_emails: z$5.ZodArray<z$5.ZodString, "many">;
      company_name: z$5.ZodString;
      state: z$5.ZodString;
      country: z$5.ZodString;
      city: z$5.ZodString;
      postal_code: z$5.ZodString;
      street: z$5.ZodString;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }, {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    }>;
    collector: z$5.ZodNullable<z$5.ZodUnknown>;
    amount_cents: z$5.ZodNumber;
    shipping_data: z$5.ZodNullable<z$5.ZodObject<{
      id: z$5.ZodNumber;
      first_name: z$5.ZodString;
      last_name: z$5.ZodString;
      street: z$5.ZodString;
      building: z$5.ZodString;
      floor: z$5.ZodString;
      apartment: z$5.ZodString;
      city: z$5.ZodString;
      state: z$5.ZodString;
      country: z$5.ZodString;
      email: z$5.ZodString;
      phone_number: z$5.ZodString;
      postal_code: z$5.ZodString;
      extra_description: z$5.ZodString;
      shipping_method: z$5.ZodString;
      order_id: z$5.ZodNumber;
      order: z$5.ZodNumber;
    }, "strip", z$5.ZodTypeAny, {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    }, {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    }>>;
    shipping_details: z$5.ZodNullable<z$5.ZodUnknown>;
    currency: z$5.ZodString;
    is_payment_locked: z$5.ZodBoolean;
    is_return: z$5.ZodBoolean;
    is_cancel: z$5.ZodBoolean;
    is_returned: z$5.ZodBoolean;
    is_canceled: z$5.ZodBoolean;
    merchant_order_id: z$5.ZodNullable<z$5.ZodString>;
    wallet_notification: z$5.ZodNullable<z$5.ZodUnknown>;
    paid_amount_cents: z$5.ZodNumber;
    notify_user_with_email: z$5.ZodBoolean;
    items: z$5.ZodArray<z$5.ZodUnknown, "many">;
    order_url: z$5.ZodString;
    commission_fees: z$5.ZodNumber;
    delivery_fees_cents: z$5.ZodNumber;
    delivery_vat_cents: z$5.ZodNumber;
    payment_method: z$5.ZodString;
    merchant_staff_tag: z$5.ZodNullable<z$5.ZodString>;
    api_source: z$5.ZodString;
    pickup_data: z$5.ZodNullable<z$5.ZodUnknown>;
    delivery_status: z$5.ZodArray<z$5.ZodUnknown, "many">;
  }, "strip", z$5.ZodTypeAny, {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  }, {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  }>;
  created_at: z$5.ZodString;
  transaction_processed_callback_responses: z$5.ZodArray<z$5.ZodUnknown, "many">;
  currency: z$5.ZodString;
  source_data: z$5.ZodObject<{
    type: z$5.ZodString;
    pan: z$5.ZodString;
    sub_type: z$5.ZodString;
  }, "strip", z$5.ZodTypeAny, {
    type: string;
    pan: string;
    sub_type: string;
  }, {
    type: string;
    pan: string;
    sub_type: string;
  }>;
  api_source: z$5.ZodString;
  terminal_id: z$5.ZodNullable<z$5.ZodUnknown>;
  merchant_commission: z$5.ZodNumber;
  installment: z$5.ZodNullable<z$5.ZodUnknown>;
  error_occured: z$5.ZodBoolean;
  refunded_amount_cents: z$5.ZodNumber;
  captured_amount: z$5.ZodNumber;
  updated_at: z$5.ZodString;
  is_settled: z$5.ZodBoolean;
  bill_balanced: z$5.ZodBoolean;
  is_bill: z$5.ZodBoolean;
  owner: z$5.ZodNumber;
}, "strip", z$5.ZodTypeAny, {
  id: number;
  pending: boolean;
  amount_cents: number;
  success: boolean;
  is_auth: boolean;
  is_capture: boolean;
  is_standalone_payment: boolean;
  is_voided: boolean;
  is_refunded: boolean;
  is_3d_secure: boolean;
  integration_id: number;
  has_parent_transaction: boolean;
  created_at: string;
  currency: string;
  error_occured: boolean;
  order: {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  };
  owner: number;
  source_data: {
    type: string;
    pan: string;
    sub_type: string;
  };
  api_source: string;
  transaction_processed_callback_responses: unknown[];
  is_void: boolean;
  is_refund: boolean;
  refunded_amount_cents: number;
  captured_amount: number;
  updated_at: string;
  is_settled: boolean;
  bill_balanced: boolean;
  is_bill: boolean;
  profile_id: number;
  merchant_commission: number;
  data: {
    is_capture: boolean;
    is_standalone_payment: boolean;
    integration_id: number;
    created_at: string;
    currency: string;
    error_occured: boolean;
    order: {
      id: number;
      amount_cents: number;
      created_at: string;
      currency: string;
      items: unknown[];
      delivery_needed: boolean;
      merchant: {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      };
      shipping_data: {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      } | null;
      is_payment_locked: boolean;
      is_return: boolean;
      is_cancel: boolean;
      is_returned: boolean;
      is_canceled: boolean;
      merchant_order_id: string | null;
      paid_amount_cents: number;
      notify_user_with_email: boolean;
      order_url: string;
      commission_fees: number;
      delivery_fees_cents: number;
      delivery_vat_cents: number;
      payment_method: string;
      merchant_staff_tag: string | null;
      api_source: string;
      delivery_status: unknown[];
      collector?: unknown;
      shipping_details?: unknown;
      wallet_notification?: unknown;
      pickup_data?: unknown;
    };
    owner: number;
    source_data: {
      type: string;
      pan: string;
      sub_type: string;
    };
    order_id: number;
    hmac: string;
    is_live: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    merchant_staff_tag: string | null;
    api_source: string;
    acquirer: {
      message: string;
      merchant_id: string;
      acquirer: string;
      terminal_id: string;
      merchant_name: string;
      merchant_city: string;
      merchant_country: string;
      settlement_amount: string;
      settlement_currency: string;
      transaction_id: string;
      auth_code: string;
      reference_number: string;
      receipt_no: string;
      batch_no: string;
      response_code: string;
      pos_entry_mode: string;
      card_data: string;
      acq_response_code: string;
      avs_acq_response_code: string;
      eci: string;
      cavv: string;
      xid: string;
      network: string;
      card_type: string;
      authentication_3ds: string;
      transaction_status: string;
      transaction_status_reason: string;
      transaction_status_info: string;
      transaction_status_details: string;
      transaction_status_details_reason: string;
      transaction_status_details_info: string;
    };
    transaction_id: string;
    avs_acq_response_code: string;
    transaction_processed_callback_responses: unknown[];
    is_void: boolean;
    is_refund: boolean;
    refunded_amount_cents: number;
    source_id: number;
    is_captured: boolean;
    captured_amount: number;
    updated_at: string;
    is_settled: boolean;
    bill_balanced: boolean;
    is_bill: boolean;
    redirect_url: string | null;
    merchant_external_link: string | null;
    use_redirection: boolean;
    rrn: string;
    migs_order: {
      status: string;
      id: string;
      currency: string;
      amount: number;
      chargeback: {
        amount_cents: number;
        currency: string;
        reason_code: string;
      };
      creationTime: string;
      merchantId: string;
      merchantOrderId: string;
      merchantTransactionId: string;
      terminalId: string;
      totalAuthorizedAmount: number | null;
      totalCapturedAmount: number | null;
      totalRefundedAmount: string;
      transaction: {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      };
      acceptPartialAmount: boolean;
      authenticationStatus: string;
    };
    klass: string;
    created_by: string;
    secure_hash: string;
    avs_result_code: string;
    acs_eci: string;
    migs_transaction: {
      type: "PAYMENT";
      status: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
      authenticationStatus: string;
      authorizationResponse: {
        stan: string;
        authorizationCode: string;
        responseCode: string;
        responseMessage: string;
      };
      receipt: string;
    };
    terminal_id?: unknown;
    payment_key_claims?: unknown;
    other_endpoint_reference?: unknown;
    parent_transaction?: unknown;
    installment?: unknown;
    gateway_source_data?: unknown;
  };
  unique_ref: string;
  terminal_id?: unknown;
  payment_key_claims?: {
    amount_cents: number;
    integration_id: number;
    currency: string;
    order_id: number;
    notification_url: string;
    redirection_url: string;
    billing_data: {
      email: string;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      shipping_method: string;
    };
    user_id: number;
    lock_order_when_paid: boolean;
    extra: {} & {
      [k: string]: unknown;
    };
    single_payment_attempt: boolean;
    exp: number;
    pmk_ip: string;
  } | undefined;
  parent_transaction?: string | undefined;
  installment?: unknown;
}, {
  id: number;
  pending: boolean;
  amount_cents: number;
  success: boolean;
  is_auth: boolean;
  is_capture: boolean;
  is_standalone_payment: boolean;
  is_voided: boolean;
  is_refunded: boolean;
  is_3d_secure: boolean;
  integration_id: number;
  has_parent_transaction: boolean;
  created_at: string;
  currency: string;
  error_occured: boolean;
  order: {
    id: number;
    amount_cents: number;
    created_at: string;
    currency: string;
    items: unknown[];
    delivery_needed: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    shipping_data: {
      id: number;
      order: number;
      email: string;
      order_id: number;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      extra_description: string;
      shipping_method: string;
    } | null;
    is_payment_locked: boolean;
    is_return: boolean;
    is_cancel: boolean;
    is_returned: boolean;
    is_canceled: boolean;
    merchant_order_id: string | null;
    paid_amount_cents: number;
    notify_user_with_email: boolean;
    order_url: string;
    commission_fees: number;
    delivery_fees_cents: number;
    delivery_vat_cents: number;
    payment_method: string;
    merchant_staff_tag: string | null;
    api_source: string;
    delivery_status: unknown[];
    collector?: unknown;
    shipping_details?: unknown;
    wallet_notification?: unknown;
    pickup_data?: unknown;
  };
  owner: number;
  source_data: {
    type: string;
    pan: string;
    sub_type: string;
  };
  api_source: string;
  transaction_processed_callback_responses: unknown[];
  is_void: boolean;
  is_refund: boolean;
  refunded_amount_cents: number;
  captured_amount: number;
  updated_at: string;
  is_settled: boolean;
  bill_balanced: boolean;
  is_bill: boolean;
  profile_id: number;
  merchant_commission: number;
  data: {
    is_capture: boolean;
    is_standalone_payment: boolean;
    integration_id: number;
    created_at: string;
    currency: string;
    error_occured: boolean;
    order: {
      id: number;
      amount_cents: number;
      created_at: string;
      currency: string;
      items: unknown[];
      delivery_needed: boolean;
      merchant: {
        id: number;
        created_at: string;
        street: string;
        city: string;
        country: string;
        state: string;
        phones: string[];
        company_emails: string[];
        company_name: string;
        postal_code: string;
      };
      shipping_data: {
        id: number;
        order: number;
        email: string;
        order_id: number;
        first_name: string;
        last_name: string;
        phone_number: string;
        apartment: string;
        street: string;
        building: string;
        city: string;
        country: string;
        floor: string;
        state: string;
        postal_code: string;
        extra_description: string;
        shipping_method: string;
      } | null;
      is_payment_locked: boolean;
      is_return: boolean;
      is_cancel: boolean;
      is_returned: boolean;
      is_canceled: boolean;
      merchant_order_id: string | null;
      paid_amount_cents: number;
      notify_user_with_email: boolean;
      order_url: string;
      commission_fees: number;
      delivery_fees_cents: number;
      delivery_vat_cents: number;
      payment_method: string;
      merchant_staff_tag: string | null;
      api_source: string;
      delivery_status: unknown[];
      collector?: unknown;
      shipping_details?: unknown;
      wallet_notification?: unknown;
      pickup_data?: unknown;
    };
    owner: number;
    source_data: {
      type: string;
      pan: string;
      sub_type: string;
    };
    order_id: number;
    hmac: string;
    is_live: boolean;
    merchant: {
      id: number;
      created_at: string;
      street: string;
      city: string;
      country: string;
      state: string;
      phones: string[];
      company_emails: string[];
      company_name: string;
      postal_code: string;
    };
    merchant_staff_tag: string | null;
    api_source: string;
    acquirer: {
      message: string;
      merchant_id: string;
      acquirer: string;
      terminal_id: string;
      merchant_name: string;
      merchant_city: string;
      merchant_country: string;
      settlement_amount: string;
      settlement_currency: string;
      transaction_id: string;
      auth_code: string;
      reference_number: string;
      receipt_no: string;
      batch_no: string;
      response_code: string;
      pos_entry_mode: string;
      card_data: string;
      acq_response_code: string;
      avs_acq_response_code: string;
      eci: string;
      cavv: string;
      xid: string;
      network: string;
      card_type: string;
      authentication_3ds: string;
      transaction_status: string;
      transaction_status_reason: string;
      transaction_status_info: string;
      transaction_status_details: string;
      transaction_status_details_reason: string;
      transaction_status_details_info: string;
    };
    transaction_id: string;
    avs_acq_response_code: string;
    transaction_processed_callback_responses: unknown[];
    is_void: boolean;
    is_refund: boolean;
    refunded_amount_cents: number;
    source_id: number;
    is_captured: boolean;
    captured_amount: number;
    updated_at: string;
    is_settled: boolean;
    bill_balanced: boolean;
    is_bill: boolean;
    redirect_url: string | null;
    merchant_external_link: string | null;
    use_redirection: boolean;
    rrn: string;
    migs_order: {
      status: string;
      id: string;
      currency: string;
      amount: number;
      chargeback: {
        amount_cents: number;
        currency: string;
        reason_code: string;
      };
      creationTime: string;
      merchantId: string;
      merchantOrderId: string;
      merchantTransactionId: string;
      terminalId: string;
      totalAuthorizedAmount: number | null;
      totalCapturedAmount: number | null;
      totalRefundedAmount: string;
      transaction: {
        type: string;
        id: string;
        currency: string;
        amount: number;
        merchant: string;
        terminal: string;
      };
      acceptPartialAmount: boolean;
      authenticationStatus: string;
    };
    klass: string;
    created_by: string;
    secure_hash: string;
    avs_result_code: string;
    acs_eci: string;
    migs_transaction: {
      type: "PAYMENT";
      status: string;
      id: string;
      currency: string;
      amount: number;
      merchant: string;
      terminal: string;
      authenticationStatus: string;
      authorizationResponse: {
        stan: string;
        authorizationCode: string;
        responseCode: string;
        responseMessage: string;
      };
      receipt: string;
    };
    terminal_id?: unknown;
    payment_key_claims?: unknown;
    other_endpoint_reference?: unknown;
    parent_transaction?: unknown;
    installment?: unknown;
    gateway_source_data?: unknown;
  };
  unique_ref: string;
  terminal_id?: unknown;
  payment_key_claims?: {
    amount_cents: number;
    integration_id: number;
    currency: string;
    order_id: number;
    notification_url: string;
    redirection_url: string;
    billing_data: {
      email: string;
      first_name: string;
      last_name: string;
      phone_number: string;
      apartment: string;
      street: string;
      building: string;
      city: string;
      country: string;
      floor: string;
      state: string;
      postal_code: string;
      shipping_method: string;
    };
    user_id: number;
    lock_order_when_paid: boolean;
    extra: {} & {
      [k: string]: unknown;
    };
    single_payment_attempt: boolean;
    exp: number;
    pmk_ip: string;
  } | undefined;
  parent_transaction?: string | undefined;
  installment?: unknown;
}>;
type TransactionResponse = z$5.input<typeof TransactionResponseSchema>;
//#endregion
//#region src/resources/payment/index.d.ts
declare class Payment {
  private client;
  private paymobConfig;
  constructor(client: PaymobHTTPClient, paymobConfig: PaymobConfig);
  createIntention(createIntentionRequest: CreateIntentionRequest): Promise<CreateIntentionResponse>;
  getPaymentUrl(client_secret: string): Promise<string>;
  createIntentionAndGetUrl(createIntentionRequest: CreateIntentionRequest): Promise<string>;
  voidTransaction(transactionID: string): Promise<VoidResponse>;
  refundTransaction(transactionID: string, amountCents: number): Promise<RefundResponse>;
  captureTransaction(transactionID: string, amountCents: number): Promise<CaptureResponse>;
  private validateTransactionID;
  private validateAmount;
}
//#endregion
//#region src/resources/subscriptions/index.d.ts
declare class Subscriptions {
  private client;
  private paymobConfig;
  constructor(client: PaymobHTTPClient, paymobConfig: PaymobConfig);
}
//#endregion
//#region src/resources/auth/index.d.ts
declare class Auth {
  private client;
  private paymobConfig;
  private cachedToken;
  private tokenExpiryTime;
  constructor(client: PaymobHTTPClient, paymobConfig: PaymobConfig);
  getAccessToken(): Promise<string>;
  clearCache(): void;
  private isTokenValid;
}
//#endregion
//#region src/resources/transaction/index.d.ts
declare class TransactionInquiry {
  private client;
  private paymobConfig;
  private auth;
  constructor(client: PaymobHTTPClient, paymobConfig: PaymobConfig);
  getTransactionUsingOrderID(orderID: string | number): Promise<TransactionResponse>;
  getTransactionUsingTransactionID(transactionID: string): Promise<TransactionResponse>;
  getTransactionUsingMerchantOrderID(merchantOrderID: string): Promise<TransactionResponse>;
  /**
   * Get shared auth instance for other resources to use
   * This helps avoid creating multiple auth instances across resources
   */
  getAuthInstance(): Auth;
  private validateOrderID;
  private validateTransactionID;
  private validateMerchantOrderID;
}
//#endregion
//#region src/types/webhook-response.d.ts
declare const transactionWebhookResponseSchema: z$4.ZodObject<{
  type: z$4.ZodLiteral<"TRANSACTION">;
  obj: z$4.ZodObject<{
    id: z$4.ZodNumber;
    pending: z$4.ZodBoolean;
    amount_cents: z$4.ZodNumber;
    success: z$4.ZodBoolean;
    is_auth: z$4.ZodBoolean;
    is_capture: z$4.ZodBoolean;
    is_standalone_payment: z$4.ZodBoolean;
    is_voided: z$4.ZodBoolean;
    is_refunded: z$4.ZodBoolean;
    is_3d_secure: z$4.ZodBoolean;
    integration_id: z$4.ZodNumber;
    has_parent_transaction: z$4.ZodBoolean;
    created_at: z$4.ZodString;
    currency: z$4.ZodString;
    error_occured: z$4.ZodBoolean;
    order: z$4.ZodObject<{
      id: z$4.ZodNumber;
    }, "strip", z$4.ZodTypeAny, {
      id: number;
    }, {
      id: number;
    }>;
    owner: z$4.ZodNumber;
    source_data: z$4.ZodObject<{
      pan: z$4.ZodString;
      type: z$4.ZodString;
      sub_type: z$4.ZodString;
    }, "strip", z$4.ZodTypeAny, {
      type: string;
      pan: string;
      sub_type: string;
    }, {
      type: string;
      pan: string;
      sub_type: string;
    }>;
  }, "strip", z$4.ZodTypeAny, {
    id: number;
    pending: boolean;
    amount_cents: number;
    success: boolean;
    is_auth: boolean;
    is_capture: boolean;
    is_standalone_payment: boolean;
    is_voided: boolean;
    is_refunded: boolean;
    is_3d_secure: boolean;
    integration_id: number;
    has_parent_transaction: boolean;
    created_at: string;
    currency: string;
    error_occured: boolean;
    order: {
      id: number;
    };
    owner: number;
    source_data: {
      type: string;
      pan: string;
      sub_type: string;
    };
  }, {
    id: number;
    pending: boolean;
    amount_cents: number;
    success: boolean;
    is_auth: boolean;
    is_capture: boolean;
    is_standalone_payment: boolean;
    is_voided: boolean;
    is_refunded: boolean;
    is_3d_secure: boolean;
    integration_id: number;
    has_parent_transaction: boolean;
    created_at: string;
    currency: string;
    error_occured: boolean;
    order: {
      id: number;
    };
    owner: number;
    source_data: {
      type: string;
      pan: string;
      sub_type: string;
    };
  }>;
}, "strip", z$4.ZodTypeAny, {
  type: "TRANSACTION";
  obj: {
    id: number;
    pending: boolean;
    amount_cents: number;
    success: boolean;
    is_auth: boolean;
    is_capture: boolean;
    is_standalone_payment: boolean;
    is_voided: boolean;
    is_refunded: boolean;
    is_3d_secure: boolean;
    integration_id: number;
    has_parent_transaction: boolean;
    created_at: string;
    currency: string;
    error_occured: boolean;
    order: {
      id: number;
    };
    owner: number;
    source_data: {
      type: string;
      pan: string;
      sub_type: string;
    };
  };
}, {
  type: "TRANSACTION";
  obj: {
    id: number;
    pending: boolean;
    amount_cents: number;
    success: boolean;
    is_auth: boolean;
    is_capture: boolean;
    is_standalone_payment: boolean;
    is_voided: boolean;
    is_refunded: boolean;
    is_3d_secure: boolean;
    integration_id: number;
    has_parent_transaction: boolean;
    created_at: string;
    currency: string;
    error_occured: boolean;
    order: {
      id: number;
    };
    owner: number;
    source_data: {
      type: string;
      pan: string;
      sub_type: string;
    };
  };
}>;
type TransactionWebhookResponse = z$4.infer<typeof transactionWebhookResponseSchema>;
declare const tokenWebhookResponseSchema: z$4.ZodObject<{
  type: z$4.ZodLiteral<"TOKEN">;
  obj: z$4.ZodObject<{
    id: z$4.ZodNumber;
    token: z$4.ZodString;
    masked_pan: z$4.ZodString;
    merchant_id: z$4.ZodNumber;
    card_subtype: z$4.ZodString;
    created_at: z$4.ZodString;
    email: z$4.ZodString;
    order_id: z$4.ZodString;
    user_added: z$4.ZodBoolean;
    next_payment_intention: z$4.ZodString;
  }, "strip", z$4.ZodTypeAny, {
    id: number;
    created_at: string;
    token: string;
    masked_pan: string;
    merchant_id: number;
    card_subtype: string;
    email: string;
    order_id: string;
    user_added: boolean;
    next_payment_intention: string;
  }, {
    id: number;
    created_at: string;
    token: string;
    masked_pan: string;
    merchant_id: number;
    card_subtype: string;
    email: string;
    order_id: string;
    user_added: boolean;
    next_payment_intention: string;
  }>;
}, "strip", z$4.ZodTypeAny, {
  type: "TOKEN";
  obj: {
    id: number;
    created_at: string;
    token: string;
    masked_pan: string;
    merchant_id: number;
    card_subtype: string;
    email: string;
    order_id: string;
    user_added: boolean;
    next_payment_intention: string;
  };
}, {
  type: "TOKEN";
  obj: {
    id: number;
    created_at: string;
    token: string;
    masked_pan: string;
    merchant_id: number;
    card_subtype: string;
    email: string;
    order_id: string;
    user_added: boolean;
    next_payment_intention: string;
  };
}>;
type TokenWebhookResponse = z$4.infer<typeof tokenWebhookResponseSchema>;
declare const WebhookResponseSchema: z$4.ZodDiscriminatedUnion<"type", [z$4.ZodObject<{
  type: z$4.ZodLiteral<"TRANSACTION">;
  obj: z$4.ZodObject<{
    id: z$4.ZodNumber;
    pending: z$4.ZodBoolean;
    amount_cents: z$4.ZodNumber;
    success: z$4.ZodBoolean;
    is_auth: z$4.ZodBoolean;
    is_capture: z$4.ZodBoolean;
    is_standalone_payment: z$4.ZodBoolean;
    is_voided: z$4.ZodBoolean;
    is_refunded: z$4.ZodBoolean;
    is_3d_secure: z$4.ZodBoolean;
    integration_id: z$4.ZodNumber;
    has_parent_transaction: z$4.ZodBoolean;
    created_at: z$4.ZodString;
    currency: z$4.ZodString;
    error_occured: z$4.ZodBoolean;
    order: z$4.ZodObject<{
      id: z$4.ZodNumber;
    }, "strip", z$4.ZodTypeAny, {
      id: number;
    }, {
      id: number;
    }>;
    owner: z$4.ZodNumber;
    source_data: z$4.ZodObject<{
      pan: z$4.ZodString;
      type: z$4.ZodString;
      sub_type: z$4.ZodString;
    }, "strip", z$4.ZodTypeAny, {
      type: string;
      pan: string;
      sub_type: string;
    }, {
      type: string;
      pan: string;
      sub_type: string;
    }>;
  }, "strip", z$4.ZodTypeAny, {
    id: number;
    pending: boolean;
    amount_cents: number;
    success: boolean;
    is_auth: boolean;
    is_capture: boolean;
    is_standalone_payment: boolean;
    is_voided: boolean;
    is_refunded: boolean;
    is_3d_secure: boolean;
    integration_id: number;
    has_parent_transaction: boolean;
    created_at: string;
    currency: string;
    error_occured: boolean;
    order: {
      id: number;
    };
    owner: number;
    source_data: {
      type: string;
      pan: string;
      sub_type: string;
    };
  }, {
    id: number;
    pending: boolean;
    amount_cents: number;
    success: boolean;
    is_auth: boolean;
    is_capture: boolean;
    is_standalone_payment: boolean;
    is_voided: boolean;
    is_refunded: boolean;
    is_3d_secure: boolean;
    integration_id: number;
    has_parent_transaction: boolean;
    created_at: string;
    currency: string;
    error_occured: boolean;
    order: {
      id: number;
    };
    owner: number;
    source_data: {
      type: string;
      pan: string;
      sub_type: string;
    };
  }>;
}, "strip", z$4.ZodTypeAny, {
  type: "TRANSACTION";
  obj: {
    id: number;
    pending: boolean;
    amount_cents: number;
    success: boolean;
    is_auth: boolean;
    is_capture: boolean;
    is_standalone_payment: boolean;
    is_voided: boolean;
    is_refunded: boolean;
    is_3d_secure: boolean;
    integration_id: number;
    has_parent_transaction: boolean;
    created_at: string;
    currency: string;
    error_occured: boolean;
    order: {
      id: number;
    };
    owner: number;
    source_data: {
      type: string;
      pan: string;
      sub_type: string;
    };
  };
}, {
  type: "TRANSACTION";
  obj: {
    id: number;
    pending: boolean;
    amount_cents: number;
    success: boolean;
    is_auth: boolean;
    is_capture: boolean;
    is_standalone_payment: boolean;
    is_voided: boolean;
    is_refunded: boolean;
    is_3d_secure: boolean;
    integration_id: number;
    has_parent_transaction: boolean;
    created_at: string;
    currency: string;
    error_occured: boolean;
    order: {
      id: number;
    };
    owner: number;
    source_data: {
      type: string;
      pan: string;
      sub_type: string;
    };
  };
}>, z$4.ZodObject<{
  type: z$4.ZodLiteral<"TOKEN">;
  obj: z$4.ZodObject<{
    id: z$4.ZodNumber;
    token: z$4.ZodString;
    masked_pan: z$4.ZodString;
    merchant_id: z$4.ZodNumber;
    card_subtype: z$4.ZodString;
    created_at: z$4.ZodString;
    email: z$4.ZodString;
    order_id: z$4.ZodString;
    user_added: z$4.ZodBoolean;
    next_payment_intention: z$4.ZodString;
  }, "strip", z$4.ZodTypeAny, {
    id: number;
    created_at: string;
    token: string;
    masked_pan: string;
    merchant_id: number;
    card_subtype: string;
    email: string;
    order_id: string;
    user_added: boolean;
    next_payment_intention: string;
  }, {
    id: number;
    created_at: string;
    token: string;
    masked_pan: string;
    merchant_id: number;
    card_subtype: string;
    email: string;
    order_id: string;
    user_added: boolean;
    next_payment_intention: string;
  }>;
}, "strip", z$4.ZodTypeAny, {
  type: "TOKEN";
  obj: {
    id: number;
    created_at: string;
    token: string;
    masked_pan: string;
    merchant_id: number;
    card_subtype: string;
    email: string;
    order_id: string;
    user_added: boolean;
    next_payment_intention: string;
  };
}, {
  type: "TOKEN";
  obj: {
    id: number;
    created_at: string;
    token: string;
    masked_pan: string;
    merchant_id: number;
    card_subtype: string;
    email: string;
    order_id: string;
    user_added: boolean;
    next_payment_intention: string;
  };
}>]>;
type WebhookResponse = z$4.infer<typeof WebhookResponseSchema>;
declare const paymentRedirectResponseSchema: z$4.ZodObject<{
  id: z$4.ZodNumber;
  pending: z$4.ZodBoolean;
  amount_cents: z$4.ZodNumber;
  success: z$4.ZodBoolean;
  is_auth: z$4.ZodBoolean;
  is_capture: z$4.ZodBoolean;
  is_standalone_payment: z$4.ZodBoolean;
  is_voided: z$4.ZodBoolean;
  is_refunded: z$4.ZodBoolean;
  is_3d_secure: z$4.ZodBoolean;
  integration_id: z$4.ZodNumber;
  has_parent_transaction: z$4.ZodBoolean;
  order: z$4.ZodNumber;
  created_at: z$4.ZodString;
  currency: z$4.ZodString;
  error_occured: z$4.ZodBoolean;
  owner: z$4.ZodNumber;
  "source_data.pan": z$4.ZodString;
  "source_data.type": z$4.ZodString;
  "source_data.sub_type": z$4.ZodString;
  txn_response_code: z$4.ZodNumber;
  hmac: z$4.ZodString;
}, "strip", z$4.ZodTypeAny, {
  id: number;
  pending: boolean;
  amount_cents: number;
  success: boolean;
  is_auth: boolean;
  is_capture: boolean;
  is_standalone_payment: boolean;
  is_voided: boolean;
  is_refunded: boolean;
  is_3d_secure: boolean;
  integration_id: number;
  has_parent_transaction: boolean;
  created_at: string;
  currency: string;
  error_occured: boolean;
  order: number;
  owner: number;
  "source_data.pan": string;
  "source_data.type": string;
  "source_data.sub_type": string;
  txn_response_code: number;
  hmac: string;
}, {
  id: number;
  pending: boolean;
  amount_cents: number;
  success: boolean;
  is_auth: boolean;
  is_capture: boolean;
  is_standalone_payment: boolean;
  is_voided: boolean;
  is_refunded: boolean;
  is_3d_secure: boolean;
  integration_id: number;
  has_parent_transaction: boolean;
  created_at: string;
  currency: string;
  error_occured: boolean;
  order: number;
  owner: number;
  "source_data.pan": string;
  "source_data.type": string;
  "source_data.sub_type": string;
  txn_response_code: number;
  hmac: string;
}>;
type PaymentRedirectResponseInput = z$4.input<typeof paymentRedirectResponseSchema>;
type PaymentRedirectResponseOutput = z$4.output<typeof paymentRedirectResponseSchema>;
//#endregion
//#region src/resources/hmac/index.d.ts
declare class HMAC {
  private client;
  private paymobConfig;
  constructor(client: PaymobHTTPClient, paymobConfig: PaymobConfig);
  comareHMACWebhook(data: WebhookResponse, hmac: string): boolean;
  comareHMACRedirect(data: PaymentRedirectResponseInput, hmac: string): boolean;
}
//#endregion
//#region src/core/paymob.d.ts
declare class PaymobSDK {
  private readonly client;
  readonly payment: Payment;
  readonly transaction: TransactionInquiry;
  readonly subscriptions: Subscriptions;
  readonly hmac: HMAC;
  constructor(paymobConfig: PaymobConfig, options?: Options);
}
//#endregion
//#region src/types/auth.d.ts
declare const AuthApiKeyRequestSchema: z$3.ZodObject<{
  api_key: z$3.ZodString;
}, "strip", z$3.ZodTypeAny, {
  api_key: string;
}, {
  api_key: string;
}>;
type AuthApiKeyRequest = z$3.infer<typeof AuthApiKeyRequestSchema>;
declare const AuthUsernamePasswordRequestSchema: z$3.ZodObject<{
  username: z$3.ZodString;
  password: z$3.ZodString;
  expiration: z$3.ZodOptional<z$3.ZodNumber>;
}, "strip", z$3.ZodTypeAny, {
  username: string;
  password: string;
  expiration?: number | undefined;
}, {
  username: string;
  password: string;
  expiration?: number | undefined;
}>;
type AuthUsernamePasswordRequest = z$3.infer<typeof AuthUsernamePasswordRequestSchema>;
declare const AuthProfileSchema: z$3.ZodObject<{
  id: z$3.ZodNumber;
  user: z$3.ZodObject<{
    id: z$3.ZodNumber;
    username: z$3.ZodString;
    first_name: z$3.ZodString;
    last_name: z$3.ZodString;
    email: z$3.ZodString;
  }, "strip", z$3.ZodTypeAny, {
    id: number;
    email: string;
    username: string;
    first_name: string;
    last_name: string;
  }, {
    id: number;
    email: string;
    username: string;
    first_name: string;
    last_name: string;
  }>;
}, "strip", z$3.ZodTypeAny, {
  id: number;
  user: {
    id: number;
    email: string;
    username: string;
    first_name: string;
    last_name: string;
  };
}, {
  id: number;
  user: {
    id: number;
    email: string;
    username: string;
    first_name: string;
    last_name: string;
  };
}>;
type AuthProfile = z$3.infer<typeof AuthProfileSchema>;
declare const AuthResponseSchema: z$3.ZodObject<{
  token: z$3.ZodString;
  profile: z$3.ZodObject<{
    id: z$3.ZodNumber;
    user: z$3.ZodObject<{
      id: z$3.ZodNumber;
      username: z$3.ZodString;
      first_name: z$3.ZodString;
      last_name: z$3.ZodString;
      email: z$3.ZodString;
    }, "strip", z$3.ZodTypeAny, {
      id: number;
      email: string;
      username: string;
      first_name: string;
      last_name: string;
    }, {
      id: number;
      email: string;
      username: string;
      first_name: string;
      last_name: string;
    }>;
  }, "strip", z$3.ZodTypeAny, {
    id: number;
    user: {
      id: number;
      email: string;
      username: string;
      first_name: string;
      last_name: string;
    };
  }, {
    id: number;
    user: {
      id: number;
      email: string;
      username: string;
      first_name: string;
      last_name: string;
    };
  }>;
}, "strip", z$3.ZodTypeAny, {
  token: string;
  profile: {
    id: number;
    user: {
      id: number;
      email: string;
      username: string;
      first_name: string;
      last_name: string;
    };
  };
}, {
  token: string;
  profile: {
    id: number;
    user: {
      id: number;
      email: string;
      username: string;
      first_name: string;
      last_name: string;
    };
  };
}>;
type AuthResponse = z$3.infer<typeof AuthResponseSchema>;
//#endregion
//#region src/types/common.d.ts
/**
 * Integer validation pipe
 * @param min Optional minimum value
 */
declare const integer: (min?: number) => z$2.ZodNumber;
/**
 * Positive integer validation (value >= 1)
 */
declare const positiveInteger: () => z$2.ZodNumber;
/**
 * Non-negative integer validation (value >= 0)
 */
declare const nonNegativeInteger: () => z$2.ZodNumber;
/**
 * Amount in cents validation (non-negative integer)
 */
declare const amountCents: () => z$2.ZodNumber;
/**
 * URL validation pipe
 */
declare const urlValidation: () => z$2.ZodString;
/**
 * Email validation pipe
 */
declare const emailValidation: () => z$2.ZodString;
/**
 * Timestamp validation pipe
 */
declare const timestampValidation: () => z$2.ZodString;
/**
 * Schema for billing data
 */
declare const BillingDataSchema: z$2.ZodObject<{
  apartment: z$2.ZodOptional<z$2.ZodString>;
  first_name: z$2.ZodString;
  last_name: z$2.ZodString;
  street: z$2.ZodOptional<z$2.ZodString>;
  building: z$2.ZodOptional<z$2.ZodString>;
  phone_number: z$2.ZodString;
  city: z$2.ZodOptional<z$2.ZodString>;
  country: z$2.ZodOptional<z$2.ZodString>;
  email: z$2.ZodOptional<z$2.ZodString>;
  floor: z$2.ZodOptional<z$2.ZodString>;
  state: z$2.ZodOptional<z$2.ZodString>;
}, "strip", z$2.ZodTypeAny, {
  first_name: string;
  last_name: string;
  phone_number: string;
  email?: string | undefined;
  apartment?: string | undefined;
  street?: string | undefined;
  building?: string | undefined;
  city?: string | undefined;
  country?: string | undefined;
  floor?: string | undefined;
  state?: string | undefined;
}, {
  first_name: string;
  last_name: string;
  phone_number: string;
  email?: string | undefined;
  apartment?: string | undefined;
  street?: string | undefined;
  building?: string | undefined;
  city?: string | undefined;
  country?: string | undefined;
  floor?: string | undefined;
  state?: string | undefined;
}>;
type BillingData = z$2.infer<typeof BillingDataSchema>;
/**
 * Schema for order items
 */
declare const ItemSchema: z$2.ZodObject<{
  name: z$2.ZodString;
  amount: z$2.ZodNumber;
  description: z$2.ZodString;
  quantity: z$2.ZodNumber;
}, "strip", z$2.ZodTypeAny, {
  description: string;
  amount: number;
  name: string;
  quantity: number;
}, {
  description: string;
  amount: number;
  name: string;
  quantity: number;
}>;
type Item = z$2.infer<typeof ItemSchema>;
/**
 * Schema for payment methods
 */
declare const PaymentMethodsSchema: z$2.ZodEffects<z$2.ZodArray<z$2.ZodUnion<[z$2.ZodNumber, z$2.ZodString]>, "many">, (string | number)[], (string | number)[]>;
type PaymentMethods = z$2.infer<typeof PaymentMethodsSchema>;
/**
 * Base schema for API responses with ID and timestamps
 */
declare const BaseResourceSchema: z$2.ZodObject<{
  id: z$2.ZodUnion<[z$2.ZodString, z$2.ZodNumber]>;
  created_at: z$2.ZodString;
  updated_at: z$2.ZodOptional<z$2.ZodString>;
}, "strip", z$2.ZodTypeAny, {
  id: string | number;
  created_at: string;
  updated_at?: string | undefined;
}, {
  id: string | number;
  created_at: string;
  updated_at?: string | undefined;
}>;
type BaseResource = z$2.infer<typeof BaseResourceSchema>;
/**
 * Schema for customer information
 */
declare const CustomerSchema: z$2.ZodObject<{
  first_name: z$2.ZodOptional<z$2.ZodString>;
  last_name: z$2.ZodOptional<z$2.ZodString>;
  email: z$2.ZodOptional<z$2.ZodString>;
  phone_number: z$2.ZodOptional<z$2.ZodString>;
}, "strip", z$2.ZodTypeAny, {
  email?: string | undefined;
  first_name?: string | undefined;
  last_name?: string | undefined;
  phone_number?: string | undefined;
}, {
  email?: string | undefined;
  first_name?: string | undefined;
  last_name?: string | undefined;
  phone_number?: string | undefined;
}>;
type Customer = z$2.infer<typeof CustomerSchema>;
/**
 * Schema for address information
 */
declare const AddressSchema: z$2.ZodObject<{
  street: z$2.ZodOptional<z$2.ZodString>;
  building: z$2.ZodOptional<z$2.ZodString>;
  floor: z$2.ZodOptional<z$2.ZodString>;
  apartment: z$2.ZodOptional<z$2.ZodString>;
  city: z$2.ZodOptional<z$2.ZodString>;
  state: z$2.ZodOptional<z$2.ZodString>;
  country: z$2.ZodOptional<z$2.ZodString>;
  postal_code: z$2.ZodOptional<z$2.ZodString>;
}, "strip", z$2.ZodTypeAny, {
  apartment?: string | undefined;
  street?: string | undefined;
  building?: string | undefined;
  city?: string | undefined;
  country?: string | undefined;
  floor?: string | undefined;
  state?: string | undefined;
  postal_code?: string | undefined;
}, {
  apartment?: string | undefined;
  street?: string | undefined;
  building?: string | undefined;
  city?: string | undefined;
  country?: string | undefined;
  floor?: string | undefined;
  state?: string | undefined;
  postal_code?: string | undefined;
}>;
type Address = z$2.infer<typeof AddressSchema>;
/**
 * Schema for metadata
 */
declare const MetadataSchema: z$2.ZodRecord<z$2.ZodString, z$2.ZodUnknown>;
type Metadata = z$2.infer<typeof MetadataSchema>;
//#endregion
//#region src/types/quicklink.d.ts
declare const CreateQuickLinkRequestSchema: z$1.ZodObject<{
  amount_cents: z$1.ZodNumber;
  payment_methods: z$1.ZodEffects<z$1.ZodArray<z$1.ZodUnion<[z$1.ZodNumber, z$1.ZodString]>, "many">, (string | number)[], (string | number)[]>;
  email: z$1.ZodString;
  full_name: z$1.ZodString;
  phone_number: z$1.ZodString;
  description: z$1.ZodString;
  is_live: z$1.ZodOptional<z$1.ZodBoolean>;
  expires_at: z$1.ZodOptional<z$1.ZodString>;
  reference_id: z$1.ZodOptional<z$1.ZodString>;
  notification_url: z$1.ZodOptional<z$1.ZodString>;
  redirection_url: z$1.ZodOptional<z$1.ZodString>;
}, "strip", z$1.ZodTypeAny, {
  amount_cents: number;
  email: string;
  payment_methods: (string | number)[];
  full_name: string;
  phone_number: string;
  description: string;
  is_live?: boolean | undefined;
  expires_at?: string | undefined;
  reference_id?: string | undefined;
  notification_url?: string | undefined;
  redirection_url?: string | undefined;
}, {
  amount_cents: number;
  email: string;
  payment_methods: (string | number)[];
  full_name: string;
  phone_number: string;
  description: string;
  is_live?: boolean | undefined;
  expires_at?: string | undefined;
  reference_id?: string | undefined;
  notification_url?: string | undefined;
  redirection_url?: string | undefined;
}>;
type CreateQuickLinkRequest = z$1.input<typeof CreateQuickLinkRequestSchema>;
declare const CreateQuickLinkResponseSchema: z$1.ZodObject<{
  client_url: z$1.ZodString;
}, "strip", z$1.ZodTypeAny, {
  client_url: string;
}, {
  client_url: string;
}>;
type CreateQuickLinkResponse = z$1.input<typeof CreateQuickLinkResponseSchema>;
//#endregion
//#region src/types/subscription.d.ts
declare const SubscriptionFrequencySchema: z.ZodEffects<z.ZodEnum<["7", "15", "30", "90", "180", "365"]>, number, "7" | "15" | "30" | "90" | "180" | "365">;
type SubscriptionFrequency = z.input<typeof SubscriptionFrequencySchema>;
declare const CreateSubscriptionPlanRequestSchema: z.ZodObject<{
  frequency: z.ZodEffects<z.ZodEnum<["7", "15", "30", "90", "180", "365"]>, number, "7" | "15" | "30" | "90" | "180" | "365">;
  name: z.ZodString;
  reminder_days: z.ZodNullable<z.ZodNumber>;
  retrial_days: z.ZodNullable<z.ZodNumber>;
  plan_type: z.ZodString;
  number_of_deductions: z.ZodNullable<z.ZodNumber>;
  amount_cents: z.ZodNumber;
  use_transaction_amount: z.ZodBoolean;
  is_active: z.ZodOptional<z.ZodBoolean>;
  integration: z.ZodNumber;
  webhook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
  amount_cents: number;
  name: string;
  frequency: number;
  reminder_days: number | null;
  retrial_days: number | null;
  plan_type: string;
  number_of_deductions: number | null;
  use_transaction_amount: boolean;
  integration: number;
  is_active?: boolean | undefined;
  webhook_url?: string | null | undefined;
}, {
  amount_cents: number;
  name: string;
  frequency: "7" | "15" | "30" | "90" | "180" | "365";
  reminder_days: number | null;
  retrial_days: number | null;
  plan_type: string;
  number_of_deductions: number | null;
  use_transaction_amount: boolean;
  integration: number;
  is_active?: boolean | undefined;
  webhook_url?: string | null | undefined;
}>;
type CreateSubscriptionPlanRequest = z.input<typeof CreateSubscriptionPlanRequestSchema>;
declare const SubscriptionPlanSchema: z.ZodObject<{
  frequency: z.ZodEffects<z.ZodEnum<["7", "15", "30", "90", "180", "365"]>, number, "7" | "15" | "30" | "90" | "180" | "365">;
  name: z.ZodString;
  reminder_days: z.ZodNullable<z.ZodNumber>;
  retrial_days: z.ZodNullable<z.ZodNumber>;
  plan_type: z.ZodString;
  number_of_deductions: z.ZodNullable<z.ZodNumber>;
  amount_cents: z.ZodNumber;
  use_transaction_amount: z.ZodBoolean;
  is_active: z.ZodBoolean;
  integration: z.ZodNumber;
  fee: z.ZodNullable<z.ZodNumber>;
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
  created_at: z.ZodString;
  updated_at: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
  id: string | number;
  amount_cents: number;
  created_at: string;
  name: string;
  frequency: number;
  reminder_days: number | null;
  retrial_days: number | null;
  plan_type: string;
  number_of_deductions: number | null;
  use_transaction_amount: boolean;
  is_active: boolean;
  integration: number;
  fee: number | null;
  updated_at?: string | undefined;
}, {
  id: string | number;
  amount_cents: number;
  created_at: string;
  name: string;
  frequency: "7" | "15" | "30" | "90" | "180" | "365";
  reminder_days: number | null;
  retrial_days: number | null;
  plan_type: string;
  number_of_deductions: number | null;
  use_transaction_amount: boolean;
  is_active: boolean;
  integration: number;
  fee: number | null;
  updated_at?: string | undefined;
}>;
type SubscriptionPlan = z.infer<typeof SubscriptionPlanSchema>;
declare const ListSubscriptionPlansResponseSchema: z.ZodArray<z.ZodObject<{
  frequency: z.ZodEffects<z.ZodEnum<["7", "15", "30", "90", "180", "365"]>, number, "7" | "15" | "30" | "90" | "180" | "365">;
  name: z.ZodString;
  reminder_days: z.ZodNullable<z.ZodNumber>;
  retrial_days: z.ZodNullable<z.ZodNumber>;
  plan_type: z.ZodString;
  number_of_deductions: z.ZodNullable<z.ZodNumber>;
  amount_cents: z.ZodNumber;
  use_transaction_amount: z.ZodBoolean;
  is_active: z.ZodBoolean;
  integration: z.ZodNumber;
  fee: z.ZodNullable<z.ZodNumber>;
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
  created_at: z.ZodString;
  updated_at: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
  id: string | number;
  amount_cents: number;
  created_at: string;
  name: string;
  frequency: number;
  reminder_days: number | null;
  retrial_days: number | null;
  plan_type: string;
  number_of_deductions: number | null;
  use_transaction_amount: boolean;
  is_active: boolean;
  integration: number;
  fee: number | null;
  updated_at?: string | undefined;
}, {
  id: string | number;
  amount_cents: number;
  created_at: string;
  name: string;
  frequency: "7" | "15" | "30" | "90" | "180" | "365";
  reminder_days: number | null;
  retrial_days: number | null;
  plan_type: string;
  number_of_deductions: number | null;
  use_transaction_amount: boolean;
  is_active: boolean;
  integration: number;
  fee: number | null;
  updated_at?: string | undefined;
}>, "many">;
type ListSubscriptionPlansResponse = z.input<typeof ListSubscriptionPlansResponseSchema>;
/**
 * Schema for creating a subscription.
 * (Partially inferred - needs verification against actual API)
 */
declare const CreateSubscriptionRequestSchema: z.ZodObject<{
  return_url: z.ZodOptional<z.ZodString>;
  charge_failure_count: z.ZodOptional<z.ZodNumber>;
  description: z.ZodOptional<z.ZodString>;
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
  street: z.ZodOptional<z.ZodString>;
  building: z.ZodOptional<z.ZodString>;
  floor: z.ZodOptional<z.ZodString>;
  apartment: z.ZodOptional<z.ZodString>;
  city: z.ZodOptional<z.ZodString>;
  state: z.ZodOptional<z.ZodString>;
  country: z.ZodOptional<z.ZodString>;
  postal_code: z.ZodOptional<z.ZodString>;
  first_name: z.ZodOptional<z.ZodString>;
  last_name: z.ZodOptional<z.ZodString>;
  email: z.ZodOptional<z.ZodString>;
  phone_number: z.ZodOptional<z.ZodString>;
  plan_id: z.ZodNumber;
  payment_token: z.ZodString;
}, "strip", z.ZodTypeAny, {
  plan_id: number;
  payment_token: string;
  email?: string | undefined;
  first_name?: string | undefined;
  last_name?: string | undefined;
  phone_number?: string | undefined;
  description?: string | undefined;
  apartment?: string | undefined;
  street?: string | undefined;
  building?: string | undefined;
  city?: string | undefined;
  country?: string | undefined;
  floor?: string | undefined;
  state?: string | undefined;
  metadata?: Record<string, unknown> | undefined;
  postal_code?: string | undefined;
  return_url?: string | undefined;
  charge_failure_count?: number | undefined;
}, {
  plan_id: number;
  payment_token: string;
  email?: string | undefined;
  first_name?: string | undefined;
  last_name?: string | undefined;
  phone_number?: string | undefined;
  description?: string | undefined;
  apartment?: string | undefined;
  street?: string | undefined;
  building?: string | undefined;
  city?: string | undefined;
  country?: string | undefined;
  floor?: string | undefined;
  state?: string | undefined;
  metadata?: Record<string, unknown> | undefined;
  postal_code?: string | undefined;
  return_url?: string | undefined;
  charge_failure_count?: number | undefined;
}>;
type CreateSubscriptionRequest = z.input<typeof CreateSubscriptionRequestSchema>;
/**
 * Schema for the subscription resource (response).
 * (Highly inferred - needs verification against actual API)
 */
declare const SubscriptionSchema: z.ZodObject<{
  plan: z.ZodObject<{
    frequency: z.ZodEffects<z.ZodEnum<["7", "15", "30", "90", "180", "365"]>, number, "7" | "15" | "30" | "90" | "180" | "365">;
    name: z.ZodString;
    reminder_days: z.ZodNullable<z.ZodNumber>;
    retrial_days: z.ZodNullable<z.ZodNumber>;
    plan_type: z.ZodString;
    number_of_deductions: z.ZodNullable<z.ZodNumber>;
    amount_cents: z.ZodNumber;
    use_transaction_amount: z.ZodBoolean;
    is_active: z.ZodBoolean;
    integration: z.ZodNumber;
    fee: z.ZodNullable<z.ZodNumber>;
    id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
    created_at: z.ZodString;
    updated_at: z.ZodOptional<z.ZodString>;
  }, "strip", z.ZodTypeAny, {
    id: string | number;
    amount_cents: number;
    created_at: string;
    name: string;
    frequency: number;
    reminder_days: number | null;
    retrial_days: number | null;
    plan_type: string;
    number_of_deductions: number | null;
    use_transaction_amount: boolean;
    is_active: boolean;
    integration: number;
    fee: number | null;
    updated_at?: string | undefined;
  }, {
    id: string | number;
    amount_cents: number;
    created_at: string;
    name: string;
    frequency: "7" | "15" | "30" | "90" | "180" | "365";
    reminder_days: number | null;
    retrial_days: number | null;
    plan_type: string;
    number_of_deductions: number | null;
    use_transaction_amount: boolean;
    is_active: boolean;
    integration: number;
    fee: number | null;
    updated_at?: string | undefined;
  }>;
  customer_details: z.ZodObject<{
    first_name: z.ZodOptional<z.ZodString>;
    last_name: z.ZodOptional<z.ZodString>;
    email: z.ZodOptional<z.ZodString>;
    phone_number: z.ZodOptional<z.ZodString>;
  }, "strip", z.ZodTypeAny, {
    email?: string | undefined;
    first_name?: string | undefined;
    last_name?: string | undefined;
    phone_number?: string | undefined;
  }, {
    email?: string | undefined;
    first_name?: string | undefined;
    last_name?: string | undefined;
    phone_number?: string | undefined;
  }>;
  status: z.ZodString;
  created_at: z.ZodString;
  updated_at: z.ZodString;
  id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
}, "strip", z.ZodTypeAny, {
  status: string;
  id: string | number;
  created_at: string;
  updated_at: string;
  plan: {
    id: string | number;
    amount_cents: number;
    created_at: string;
    name: string;
    frequency: number;
    reminder_days: number | null;
    retrial_days: number | null;
    plan_type: string;
    number_of_deductions: number | null;
    use_transaction_amount: boolean;
    is_active: boolean;
    integration: number;
    fee: number | null;
    updated_at?: string | undefined;
  };
  customer_details: {
    email?: string | undefined;
    first_name?: string | undefined;
    last_name?: string | undefined;
    phone_number?: string | undefined;
  };
}, {
  status: string;
  id: string | number;
  created_at: string;
  updated_at: string;
  plan: {
    id: string | number;
    amount_cents: number;
    created_at: string;
    name: string;
    frequency: "7" | "15" | "30" | "90" | "180" | "365";
    reminder_days: number | null;
    retrial_days: number | null;
    plan_type: string;
    number_of_deductions: number | null;
    use_transaction_amount: boolean;
    is_active: boolean;
    integration: number;
    fee: number | null;
    updated_at?: string | undefined;
  };
  customer_details: {
    email?: string | undefined;
    first_name?: string | undefined;
    last_name?: string | undefined;
    phone_number?: string | undefined;
  };
}>;
type Subscription = z.input<typeof SubscriptionSchema>;
//#endregion
//#region src/utils/compare-hmac.d.ts
declare const compareHMACWebhook: (data: WebhookResponse, hmac: string, hmacSecret: string) => boolean;
declare const compareHMACPaymentRedirect: (data: PaymentRedirectResponseInput, hmac: string, hmacSecret: string) => boolean;
//#endregion
export { Acquirer, AcquirerSchema, Address, AddressSchema, AuthApiKeyRequest, AuthApiKeyRequestSchema, AuthProfile, AuthProfileSchema, AuthResponse, AuthResponseSchema, AuthUsernamePasswordRequest, AuthUsernamePasswordRequestSchema, BaseMigsOrder, BaseMigsOrderSchema, BaseMigsTransaction, BaseMigsTransactionSchema, BaseResource, BaseResourceSchema, BaseTransactionData, BaseTransactionDataSchema, BaseTransactionResponse, BaseTransactionResponseSchema, BillingData, BillingDataClaims, BillingDataClaimsSchema, BillingDataSchema, CaptureRequest, CaptureRequestSchema, CaptureResponse, CaptureResponseSchema, CaptureTransactionData, CaptureTransactionDataSchema, Chargeback, ChargebackSchema, CreateIntentionRequest, CreateIntentionRequestSchema, CreateIntentionResponse, CreateIntentionResponseSchema, CreateQuickLinkRequest, CreateQuickLinkRequestSchema, CreateQuickLinkResponse, CreateQuickLinkResponseSchema, CreateSubscriptionPlanRequest, CreateSubscriptionPlanRequestSchema, CreateSubscriptionRequest, CreateSubscriptionRequestSchema, Customer, CustomerSchema, Intention, IntentionSchema, Item, ItemSchema, ListSubscriptionPlansResponse, ListSubscriptionPlansResponseSchema, Merchant, MerchantSchema, Metadata, MetadataSchema, Order, OrderSchema, Payment, PaymentKeyClaims, PaymentKeyClaimsSchema, PaymentMethods, PaymentMethodsSchema, PaymentRedirectResponseInput, PaymentRedirectResponseOutput, PaymentTransactionData, PaymentTransactionDataSchema, PaymobConfig, PaymobSDK, RefundRequest, RefundRequestSchema, RefundResponse, RefundResponseSchema, RefundTransactionData, RefundTransactionDataSchema, ShippingData, ShippingDataSchema, SourceData, SourceDataSchema, Subscription, SubscriptionFrequency, SubscriptionFrequencySchema, SubscriptionPlan, SubscriptionPlanSchema, SubscriptionSchema, Subscriptions, TokenWebhookResponse, TransactionInquiry, TransactionInquiryRequest, TransactionInquiryRequestSchema, TransactionResponse, TransactionResponseSchema, TransactionWebhookResponse, VoidRequest, VoidRequestSchema, VoidResponse, VoidResponseSchema, VoidTransactionData, VoidTransactionDataSchema, WebhookResponse, WebhookResponseSchema, amountCents, compareHMACPaymentRedirect, compareHMACWebhook, emailValidation, integer, nonNegativeInteger, paymentRedirectResponseSchema, paymobConfigSchema, positiveInteger, timestampValidation, tokenWebhookResponseSchema, transactionWebhookResponseSchema, urlValidation };