import { z } from 'zod';
import { CredentialType } from '@bubblelab/shared-schemas';
export declare const StripeCustomerSchema: z.ZodObject<{
    id: z.ZodString;
    name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    created: z.ZodNumber;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    id: string;
    created: number;
    name?: string | null | undefined;
    email?: string | null | undefined;
    metadata?: Record<string, string> | undefined;
}, {
    id: string;
    created: number;
    name?: string | null | undefined;
    email?: string | null | undefined;
    metadata?: Record<string, string> | undefined;
}>;
export declare const StripeProductSchema: z.ZodObject<{
    id: z.ZodString;
    name: z.ZodString;
    description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    active: z.ZodBoolean;
    created: z.ZodNumber;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    name: string;
    id: string;
    created: number;
    active: boolean;
    description?: string | null | undefined;
    metadata?: Record<string, string> | undefined;
}, {
    name: string;
    id: string;
    created: number;
    active: boolean;
    description?: string | null | undefined;
    metadata?: Record<string, string> | undefined;
}>;
export declare const StripePriceSchema: z.ZodObject<{
    id: z.ZodString;
    product: z.ZodString;
    unit_amount: z.ZodNullable<z.ZodNumber>;
    currency: z.ZodString;
    type: z.ZodEnum<["one_time", "recurring"]>;
    active: z.ZodBoolean;
    created: z.ZodNumber;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    type: "recurring" | "one_time";
    id: string;
    created: number;
    currency: string;
    product: string;
    active: boolean;
    unit_amount: number | null;
    metadata?: Record<string, string> | undefined;
}, {
    type: "recurring" | "one_time";
    id: string;
    created: number;
    currency: string;
    product: string;
    active: boolean;
    unit_amount: number | null;
    metadata?: Record<string, string> | undefined;
}>;
export declare const StripePaymentLinkSchema: z.ZodObject<{
    id: z.ZodString;
    url: z.ZodString;
    active: z.ZodBoolean;
    created: z.ZodOptional<z.ZodNumber>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    url: string;
    id: string;
    active: boolean;
    created?: number | undefined;
    metadata?: Record<string, string> | undefined;
}, {
    url: string;
    id: string;
    active: boolean;
    created?: number | undefined;
    metadata?: Record<string, string> | undefined;
}>;
export declare const StripeInvoiceSchema: z.ZodObject<{
    id: z.ZodString;
    customer: z.ZodNullable<z.ZodString>;
    status: z.ZodNullable<z.ZodEnum<["draft", "open", "paid", "uncollectible", "void"]>>;
    total: z.ZodNumber;
    currency: z.ZodString;
    created: z.ZodOptional<z.ZodNumber>;
    due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    hosted_invoice_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
    id: string;
    total: number;
    currency: string;
    customer: string | null;
    created?: number | undefined;
    metadata?: Record<string, string> | undefined;
    due_date?: string | null | undefined;
    hosted_invoice_url?: string | null | undefined;
    invoice_pdf?: string | null | undefined;
}, {
    status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
    id: string;
    total: number;
    currency: string;
    customer: string | null;
    created?: number | undefined;
    metadata?: Record<string, string> | undefined;
    due_date?: string | null | undefined;
    hosted_invoice_url?: string | null | undefined;
    invoice_pdf?: string | null | undefined;
}>;
export declare const StripeInvoiceItemSchema: z.ZodObject<{
    id: z.ZodString;
    invoice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    customer: z.ZodString;
    amount: z.ZodNumber;
    unit_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
    currency: z.ZodString;
    description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    quantity: z.ZodOptional<z.ZodNumber>;
    date: z.ZodOptional<z.ZodNumber>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    id: string;
    currency: string;
    customer: string;
    amount: number;
    description?: string | null | undefined;
    date?: number | undefined;
    metadata?: Record<string, string> | undefined;
    quantity?: number | undefined;
    unit_amount?: number | null | undefined;
    invoice?: string | null | undefined;
}, {
    id: string;
    currency: string;
    customer: string;
    amount: number;
    description?: string | null | undefined;
    date?: number | undefined;
    metadata?: Record<string, string> | undefined;
    quantity?: number | undefined;
    unit_amount?: number | null | undefined;
    invoice?: string | null | undefined;
}>;
export declare const StripeBalanceSchema: z.ZodObject<{
    available: z.ZodArray<z.ZodObject<{
        amount: z.ZodNumber;
        currency: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        currency: string;
        amount: number;
    }, {
        currency: string;
        amount: number;
    }>, "many">;
    pending: z.ZodArray<z.ZodObject<{
        amount: z.ZodNumber;
        currency: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        currency: string;
        amount: number;
    }, {
        currency: string;
        amount: number;
    }>, "many">;
}, "strip", z.ZodTypeAny, {
    available: {
        currency: string;
        amount: number;
    }[];
    pending: {
        currency: string;
        amount: number;
    }[];
}, {
    available: {
        currency: string;
        amount: number;
    }[];
    pending: {
        currency: string;
        amount: number;
    }[];
}>;
export declare const StripePaymentIntentSchema: z.ZodObject<{
    id: z.ZodString;
    amount: z.ZodNumber;
    currency: z.ZodString;
    status: z.ZodEnum<["requires_payment_method", "requires_confirmation", "requires_action", "processing", "requires_capture", "canceled", "succeeded"]>;
    customer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    created: z.ZodNumber;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
    id: string;
    created: number;
    currency: string;
    amount: number;
    metadata?: Record<string, string> | undefined;
    customer?: string | null | undefined;
}, {
    status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
    id: string;
    created: number;
    currency: string;
    amount: number;
    metadata?: Record<string, string> | undefined;
    customer?: string | null | undefined;
}>;
export declare const StripeSubscriptionSchema: z.ZodObject<{
    id: z.ZodString;
    customer: z.ZodString;
    status: z.ZodEnum<["incomplete", "incomplete_expired", "trialing", "active", "past_due", "canceled", "unpaid", "paused"]>;
    current_period_start: z.ZodOptional<z.ZodNumber>;
    current_period_end: z.ZodOptional<z.ZodNumber>;
    cancel_at_period_end: z.ZodBoolean;
    created: z.ZodNumber;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
    id: string;
    created: number;
    customer: string;
    cancel_at_period_end: boolean;
    metadata?: Record<string, string> | undefined;
    current_period_start?: number | undefined;
    current_period_end?: number | undefined;
}, {
    status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
    id: string;
    created: number;
    customer: string;
    cancel_at_period_end: boolean;
    metadata?: Record<string, string> | undefined;
    current_period_start?: number | undefined;
    current_period_end?: number | undefined;
}>;
export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
    operation: z.ZodLiteral<"create_customer">;
    name: z.ZodString;
    email: z.ZodOptional<z.ZodString>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    name: string;
    operation: "create_customer";
    email?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    metadata?: Record<string, string> | undefined;
}, {
    name: string;
    operation: "create_customer";
    email?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    metadata?: Record<string, string> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_customers">;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    email: z.ZodOptional<z.ZodString>;
    cursor: z.ZodOptional<z.ZodString>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_customers";
    limit: number;
    email?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    cursor?: string | undefined;
}, {
    operation: "list_customers";
    email?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | undefined;
    cursor?: string | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"retrieve_customer">;
    customer_id: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "retrieve_customer";
    customer_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "retrieve_customer";
    customer_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_product">;
    name: z.ZodString;
    description: z.ZodOptional<z.ZodString>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    name: string;
    operation: "create_product";
    description?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    metadata?: Record<string, string> | undefined;
}, {
    name: string;
    operation: "create_product";
    description?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    metadata?: Record<string, string> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_products">;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    active: z.ZodOptional<z.ZodBoolean>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_products";
    limit: number;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    active?: boolean | undefined;
}, {
    operation: "list_products";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | undefined;
    active?: boolean | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_price">;
    product: z.ZodString;
    unit_amount: z.ZodNumber;
    currency: z.ZodDefault<z.ZodString>;
    recurring: z.ZodOptional<z.ZodObject<{
        interval: z.ZodEnum<["day", "week", "month", "year"]>;
        interval_count: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    }, "strip", z.ZodTypeAny, {
        interval: "week" | "month" | "year" | "day";
        interval_count: number;
    }, {
        interval: "week" | "month" | "year" | "day";
        interval_count?: number | undefined;
    }>>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "create_price";
    currency: string;
    product: string;
    unit_amount: number;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    metadata?: Record<string, string> | undefined;
    recurring?: {
        interval: "week" | "month" | "year" | "day";
        interval_count: number;
    } | undefined;
}, {
    operation: "create_price";
    product: string;
    unit_amount: number;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    metadata?: Record<string, string> | undefined;
    currency?: string | undefined;
    recurring?: {
        interval: "week" | "month" | "year" | "day";
        interval_count?: number | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_prices">;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    product: z.ZodOptional<z.ZodString>;
    active: z.ZodOptional<z.ZodBoolean>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_prices";
    limit: number;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    product?: string | undefined;
    active?: boolean | undefined;
}, {
    operation: "list_prices";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | undefined;
    product?: string | undefined;
    active?: boolean | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_payment_link">;
    price: z.ZodString;
    quantity: z.ZodDefault<z.ZodNumber>;
    redirect_url: z.ZodOptional<z.ZodString>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "create_payment_link";
    price: string;
    quantity: number;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    metadata?: Record<string, string> | undefined;
    redirect_url?: string | undefined;
}, {
    operation: "create_payment_link";
    price: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    metadata?: Record<string, string> | undefined;
    quantity?: number | undefined;
    redirect_url?: string | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_invoice">;
    customer: z.ZodString;
    auto_advance: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    collection_method: z.ZodDefault<z.ZodOptional<z.ZodEnum<["charge_automatically", "send_invoice"]>>>;
    days_until_due: z.ZodOptional<z.ZodNumber>;
    items: z.ZodOptional<z.ZodArray<z.ZodObject<{
        unit_amount: z.ZodNumber;
        description: z.ZodOptional<z.ZodString>;
        quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    }, "strip", z.ZodTypeAny, {
        quantity: number;
        unit_amount: number;
        description?: string | undefined;
    }, {
        unit_amount: number;
        description?: string | undefined;
        quantity?: number | undefined;
    }>, "many">>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "create_invoice";
    customer: string;
    auto_advance: boolean;
    collection_method: "charge_automatically" | "send_invoice";
    items?: {
        quantity: number;
        unit_amount: number;
        description?: string | undefined;
    }[] | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    metadata?: Record<string, string> | undefined;
    days_until_due?: number | undefined;
}, {
    operation: "create_invoice";
    customer: string;
    items?: {
        unit_amount: number;
        description?: string | undefined;
        quantity?: number | undefined;
    }[] | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    metadata?: Record<string, string> | undefined;
    auto_advance?: boolean | undefined;
    collection_method?: "charge_automatically" | "send_invoice" | undefined;
    days_until_due?: number | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_invoices">;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    customer: z.ZodOptional<z.ZodString>;
    status: z.ZodOptional<z.ZodEnum<["draft", "open", "paid", "uncollectible", "void"]>>;
    cursor: z.ZodOptional<z.ZodString>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_invoices";
    limit: number;
    status?: "void" | "draft" | "open" | "paid" | "uncollectible" | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    cursor?: string | undefined;
    customer?: string | undefined;
}, {
    operation: "list_invoices";
    status?: "void" | "draft" | "open" | "paid" | "uncollectible" | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | undefined;
    cursor?: string | undefined;
    customer?: string | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"retrieve_invoice">;
    invoice_id: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "retrieve_invoice";
    invoice_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "retrieve_invoice";
    invoice_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"finalize_invoice">;
    invoice_id: z.ZodString;
    auto_advance: z.ZodOptional<z.ZodBoolean>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "finalize_invoice";
    invoice_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    auto_advance?: boolean | undefined;
}, {
    operation: "finalize_invoice";
    invoice_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    auto_advance?: boolean | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_invoice_item">;
    customer: z.ZodString;
    invoice: z.ZodOptional<z.ZodString>;
    unit_amount: z.ZodNumber;
    currency: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    description: z.ZodOptional<z.ZodString>;
    quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "create_invoice_item";
    currency: string;
    quantity: number;
    unit_amount: number;
    customer: string;
    description?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    metadata?: Record<string, string> | undefined;
    invoice?: string | undefined;
}, {
    operation: "create_invoice_item";
    unit_amount: number;
    customer: string;
    description?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    metadata?: Record<string, string> | undefined;
    currency?: string | undefined;
    quantity?: number | undefined;
    invoice?: string | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"send_invoice">;
    invoice_id: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "send_invoice";
    invoice_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "send_invoice";
    invoice_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_balance">;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "get_balance";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "get_balance";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_payment_intents">;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    customer: z.ZodOptional<z.ZodString>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_payment_intents";
    limit: number;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    customer?: string | undefined;
}, {
    operation: "list_payment_intents";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | undefined;
    customer?: string | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_subscriptions">;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    customer: z.ZodOptional<z.ZodString>;
    status: z.ZodOptional<z.ZodEnum<["incomplete", "incomplete_expired", "trialing", "active", "past_due", "canceled", "unpaid", "paused", "all"]>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_subscriptions";
    limit: number;
    status?: "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid" | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    customer?: string | undefined;
}, {
    operation: "list_subscriptions";
    status?: "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid" | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | undefined;
    customer?: string | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"cancel_subscription">;
    subscription_id: z.ZodString;
    cancel_at_period_end: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "cancel_subscription";
    subscription_id: string;
    cancel_at_period_end: boolean;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "cancel_subscription";
    subscription_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    cancel_at_period_end?: boolean | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_payment_links">;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    active: z.ZodOptional<z.ZodBoolean>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_payment_links";
    limit: number;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    active?: boolean | undefined;
}, {
    operation: "list_payment_links";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | undefined;
    active?: boolean | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_subscription">;
    customer: z.ZodString;
    price: z.ZodString;
    trial_period_days: z.ZodOptional<z.ZodNumber>;
    payment_behavior: z.ZodDefault<z.ZodOptional<z.ZodEnum<["default_incomplete", "error_if_incomplete", "allow_incomplete"]>>>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "create_subscription";
    price: string;
    customer: string;
    payment_behavior: "default_incomplete" | "error_if_incomplete" | "allow_incomplete";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    metadata?: Record<string, string> | undefined;
    trial_period_days?: number | undefined;
}, {
    operation: "create_subscription";
    price: string;
    customer: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    metadata?: Record<string, string> | undefined;
    trial_period_days?: number | undefined;
    payment_behavior?: "default_incomplete" | "error_if_incomplete" | "allow_incomplete" | undefined;
}>]>;
export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
    operation: z.ZodLiteral<"create_customer">;
    success: z.ZodBoolean;
    customer: z.ZodOptional<z.ZodObject<{
        id: z.ZodString;
        name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        created: z.ZodNumber;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        created: number;
        name?: string | null | undefined;
        email?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    }, {
        id: string;
        created: number;
        name?: string | null | undefined;
        email?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "create_customer";
    customer?: {
        id: string;
        created: number;
        name?: string | null | undefined;
        email?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    } | undefined;
}, {
    success: boolean;
    error: string;
    operation: "create_customer";
    customer?: {
        id: string;
        created: number;
        name?: string | null | undefined;
        email?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_customers">;
    success: z.ZodBoolean;
    customers: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        created: z.ZodNumber;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        created: number;
        name?: string | null | undefined;
        email?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    }, {
        id: string;
        created: number;
        name?: string | null | undefined;
        email?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    }>, "many">>;
    has_more: z.ZodOptional<z.ZodBoolean>;
    next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "list_customers";
    next_cursor?: string | null | undefined;
    has_more?: boolean | undefined;
    customers?: {
        id: string;
        created: number;
        name?: string | null | undefined;
        email?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    }[] | undefined;
}, {
    success: boolean;
    error: string;
    operation: "list_customers";
    next_cursor?: string | null | undefined;
    has_more?: boolean | undefined;
    customers?: {
        id: string;
        created: number;
        name?: string | null | undefined;
        email?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    }[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"retrieve_customer">;
    success: z.ZodBoolean;
    customer: z.ZodOptional<z.ZodObject<{
        id: z.ZodString;
        name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        created: z.ZodNumber;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        created: number;
        name?: string | null | undefined;
        email?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    }, {
        id: string;
        created: number;
        name?: string | null | undefined;
        email?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    }>>;
    deleted: z.ZodOptional<z.ZodBoolean>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "retrieve_customer";
    deleted?: boolean | undefined;
    customer?: {
        id: string;
        created: number;
        name?: string | null | undefined;
        email?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    } | undefined;
}, {
    success: boolean;
    error: string;
    operation: "retrieve_customer";
    deleted?: boolean | undefined;
    customer?: {
        id: string;
        created: number;
        name?: string | null | undefined;
        email?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_product">;
    success: z.ZodBoolean;
    product: z.ZodOptional<z.ZodObject<{
        id: z.ZodString;
        name: z.ZodString;
        description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        active: z.ZodBoolean;
        created: z.ZodNumber;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        id: string;
        created: number;
        active: boolean;
        description?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    }, {
        name: string;
        id: string;
        created: number;
        active: boolean;
        description?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "create_product";
    product?: {
        name: string;
        id: string;
        created: number;
        active: boolean;
        description?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    } | undefined;
}, {
    success: boolean;
    error: string;
    operation: "create_product";
    product?: {
        name: string;
        id: string;
        created: number;
        active: boolean;
        description?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_products">;
    success: z.ZodBoolean;
    products: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        name: z.ZodString;
        description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        active: z.ZodBoolean;
        created: z.ZodNumber;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        id: string;
        created: number;
        active: boolean;
        description?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    }, {
        name: string;
        id: string;
        created: number;
        active: boolean;
        description?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    }>, "many">>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "list_products";
    products?: {
        name: string;
        id: string;
        created: number;
        active: boolean;
        description?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    }[] | undefined;
}, {
    success: boolean;
    error: string;
    operation: "list_products";
    products?: {
        name: string;
        id: string;
        created: number;
        active: boolean;
        description?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    }[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_price">;
    success: z.ZodBoolean;
    price: z.ZodOptional<z.ZodObject<{
        id: z.ZodString;
        product: z.ZodString;
        unit_amount: z.ZodNullable<z.ZodNumber>;
        currency: z.ZodString;
        type: z.ZodEnum<["one_time", "recurring"]>;
        active: z.ZodBoolean;
        created: z.ZodNumber;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        type: "recurring" | "one_time";
        id: string;
        created: number;
        currency: string;
        product: string;
        active: boolean;
        unit_amount: number | null;
        metadata?: Record<string, string> | undefined;
    }, {
        type: "recurring" | "one_time";
        id: string;
        created: number;
        currency: string;
        product: string;
        active: boolean;
        unit_amount: number | null;
        metadata?: Record<string, string> | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "create_price";
    price?: {
        type: "recurring" | "one_time";
        id: string;
        created: number;
        currency: string;
        product: string;
        active: boolean;
        unit_amount: number | null;
        metadata?: Record<string, string> | undefined;
    } | undefined;
}, {
    success: boolean;
    error: string;
    operation: "create_price";
    price?: {
        type: "recurring" | "one_time";
        id: string;
        created: number;
        currency: string;
        product: string;
        active: boolean;
        unit_amount: number | null;
        metadata?: Record<string, string> | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_prices">;
    success: z.ZodBoolean;
    prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        product: z.ZodString;
        unit_amount: z.ZodNullable<z.ZodNumber>;
        currency: z.ZodString;
        type: z.ZodEnum<["one_time", "recurring"]>;
        active: z.ZodBoolean;
        created: z.ZodNumber;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        type: "recurring" | "one_time";
        id: string;
        created: number;
        currency: string;
        product: string;
        active: boolean;
        unit_amount: number | null;
        metadata?: Record<string, string> | undefined;
    }, {
        type: "recurring" | "one_time";
        id: string;
        created: number;
        currency: string;
        product: string;
        active: boolean;
        unit_amount: number | null;
        metadata?: Record<string, string> | undefined;
    }>, "many">>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "list_prices";
    prices?: {
        type: "recurring" | "one_time";
        id: string;
        created: number;
        currency: string;
        product: string;
        active: boolean;
        unit_amount: number | null;
        metadata?: Record<string, string> | undefined;
    }[] | undefined;
}, {
    success: boolean;
    error: string;
    operation: "list_prices";
    prices?: {
        type: "recurring" | "one_time";
        id: string;
        created: number;
        currency: string;
        product: string;
        active: boolean;
        unit_amount: number | null;
        metadata?: Record<string, string> | undefined;
    }[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_payment_link">;
    success: z.ZodBoolean;
    payment_link: z.ZodOptional<z.ZodObject<{
        id: z.ZodString;
        url: z.ZodString;
        active: z.ZodBoolean;
        created: z.ZodOptional<z.ZodNumber>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        url: string;
        id: string;
        active: boolean;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
    }, {
        url: string;
        id: string;
        active: boolean;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "create_payment_link";
    payment_link?: {
        url: string;
        id: string;
        active: boolean;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
    } | undefined;
}, {
    success: boolean;
    error: string;
    operation: "create_payment_link";
    payment_link?: {
        url: string;
        id: string;
        active: boolean;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_invoice">;
    success: z.ZodBoolean;
    invoice: z.ZodOptional<z.ZodObject<{
        id: z.ZodString;
        customer: z.ZodNullable<z.ZodString>;
        status: z.ZodNullable<z.ZodEnum<["draft", "open", "paid", "uncollectible", "void"]>>;
        total: z.ZodNumber;
        currency: z.ZodString;
        created: z.ZodOptional<z.ZodNumber>;
        due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        hosted_invoice_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
        id: string;
        total: number;
        currency: string;
        customer: string | null;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        due_date?: string | null | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    }, {
        status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
        id: string;
        total: number;
        currency: string;
        customer: string | null;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        due_date?: string | null | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "create_invoice";
    invoice?: {
        status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
        id: string;
        total: number;
        currency: string;
        customer: string | null;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        due_date?: string | null | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    } | undefined;
}, {
    success: boolean;
    error: string;
    operation: "create_invoice";
    invoice?: {
        status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
        id: string;
        total: number;
        currency: string;
        customer: string | null;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        due_date?: string | null | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_invoices">;
    success: z.ZodBoolean;
    invoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        customer: z.ZodNullable<z.ZodString>;
        status: z.ZodNullable<z.ZodEnum<["draft", "open", "paid", "uncollectible", "void"]>>;
        total: z.ZodNumber;
        currency: z.ZodString;
        created: z.ZodOptional<z.ZodNumber>;
        due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        hosted_invoice_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
        id: string;
        total: number;
        currency: string;
        customer: string | null;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        due_date?: string | null | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    }, {
        status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
        id: string;
        total: number;
        currency: string;
        customer: string | null;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        due_date?: string | null | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    }>, "many">>;
    has_more: z.ZodOptional<z.ZodBoolean>;
    next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "list_invoices";
    next_cursor?: string | null | undefined;
    has_more?: boolean | undefined;
    invoices?: {
        status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
        id: string;
        total: number;
        currency: string;
        customer: string | null;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        due_date?: string | null | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    }[] | undefined;
}, {
    success: boolean;
    error: string;
    operation: "list_invoices";
    next_cursor?: string | null | undefined;
    has_more?: boolean | undefined;
    invoices?: {
        status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
        id: string;
        total: number;
        currency: string;
        customer: string | null;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        due_date?: string | null | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    }[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"retrieve_invoice">;
    success: z.ZodBoolean;
    invoice: z.ZodOptional<z.ZodObject<{
        id: z.ZodString;
        customer: z.ZodNullable<z.ZodString>;
        status: z.ZodNullable<z.ZodEnum<["draft", "open", "paid", "uncollectible", "void"]>>;
        total: z.ZodNumber;
        currency: z.ZodString;
        created: z.ZodOptional<z.ZodNumber>;
        due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        hosted_invoice_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
        id: string;
        total: number;
        currency: string;
        customer: string | null;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        due_date?: string | null | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    }, {
        status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
        id: string;
        total: number;
        currency: string;
        customer: string | null;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        due_date?: string | null | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "retrieve_invoice";
    invoice?: {
        status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
        id: string;
        total: number;
        currency: string;
        customer: string | null;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        due_date?: string | null | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    } | undefined;
}, {
    success: boolean;
    error: string;
    operation: "retrieve_invoice";
    invoice?: {
        status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
        id: string;
        total: number;
        currency: string;
        customer: string | null;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        due_date?: string | null | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"finalize_invoice">;
    success: z.ZodBoolean;
    invoice: z.ZodOptional<z.ZodObject<{
        id: z.ZodString;
        customer: z.ZodNullable<z.ZodString>;
        status: z.ZodNullable<z.ZodEnum<["draft", "open", "paid", "uncollectible", "void"]>>;
        total: z.ZodNumber;
        currency: z.ZodString;
        created: z.ZodOptional<z.ZodNumber>;
        due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        hosted_invoice_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
        id: string;
        total: number;
        currency: string;
        customer: string | null;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        due_date?: string | null | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    }, {
        status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
        id: string;
        total: number;
        currency: string;
        customer: string | null;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        due_date?: string | null | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "finalize_invoice";
    invoice?: {
        status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
        id: string;
        total: number;
        currency: string;
        customer: string | null;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        due_date?: string | null | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    } | undefined;
}, {
    success: boolean;
    error: string;
    operation: "finalize_invoice";
    invoice?: {
        status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
        id: string;
        total: number;
        currency: string;
        customer: string | null;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        due_date?: string | null | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_invoice_item">;
    success: z.ZodBoolean;
    invoice_item: z.ZodOptional<z.ZodObject<{
        id: z.ZodString;
        invoice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        customer: z.ZodString;
        amount: z.ZodNumber;
        unit_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        currency: z.ZodString;
        description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        quantity: z.ZodOptional<z.ZodNumber>;
        date: z.ZodOptional<z.ZodNumber>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        currency: string;
        customer: string;
        amount: number;
        description?: string | null | undefined;
        date?: number | undefined;
        metadata?: Record<string, string> | undefined;
        quantity?: number | undefined;
        unit_amount?: number | null | undefined;
        invoice?: string | null | undefined;
    }, {
        id: string;
        currency: string;
        customer: string;
        amount: number;
        description?: string | null | undefined;
        date?: number | undefined;
        metadata?: Record<string, string> | undefined;
        quantity?: number | undefined;
        unit_amount?: number | null | undefined;
        invoice?: string | null | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "create_invoice_item";
    invoice_item?: {
        id: string;
        currency: string;
        customer: string;
        amount: number;
        description?: string | null | undefined;
        date?: number | undefined;
        metadata?: Record<string, string> | undefined;
        quantity?: number | undefined;
        unit_amount?: number | null | undefined;
        invoice?: string | null | undefined;
    } | undefined;
}, {
    success: boolean;
    error: string;
    operation: "create_invoice_item";
    invoice_item?: {
        id: string;
        currency: string;
        customer: string;
        amount: number;
        description?: string | null | undefined;
        date?: number | undefined;
        metadata?: Record<string, string> | undefined;
        quantity?: number | undefined;
        unit_amount?: number | null | undefined;
        invoice?: string | null | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"send_invoice">;
    success: z.ZodBoolean;
    invoice: z.ZodOptional<z.ZodObject<{
        id: z.ZodString;
        customer: z.ZodNullable<z.ZodString>;
        status: z.ZodNullable<z.ZodEnum<["draft", "open", "paid", "uncollectible", "void"]>>;
        total: z.ZodNumber;
        currency: z.ZodString;
        created: z.ZodOptional<z.ZodNumber>;
        due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        hosted_invoice_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
        id: string;
        total: number;
        currency: string;
        customer: string | null;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        due_date?: string | null | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    }, {
        status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
        id: string;
        total: number;
        currency: string;
        customer: string | null;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        due_date?: string | null | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "send_invoice";
    invoice?: {
        status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
        id: string;
        total: number;
        currency: string;
        customer: string | null;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        due_date?: string | null | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    } | undefined;
}, {
    success: boolean;
    error: string;
    operation: "send_invoice";
    invoice?: {
        status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
        id: string;
        total: number;
        currency: string;
        customer: string | null;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        due_date?: string | null | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_balance">;
    success: z.ZodBoolean;
    balance: z.ZodOptional<z.ZodObject<{
        available: z.ZodArray<z.ZodObject<{
            amount: z.ZodNumber;
            currency: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            currency: string;
            amount: number;
        }, {
            currency: string;
            amount: number;
        }>, "many">;
        pending: z.ZodArray<z.ZodObject<{
            amount: z.ZodNumber;
            currency: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            currency: string;
            amount: number;
        }, {
            currency: string;
            amount: number;
        }>, "many">;
    }, "strip", z.ZodTypeAny, {
        available: {
            currency: string;
            amount: number;
        }[];
        pending: {
            currency: string;
            amount: number;
        }[];
    }, {
        available: {
            currency: string;
            amount: number;
        }[];
        pending: {
            currency: string;
            amount: number;
        }[];
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "get_balance";
    balance?: {
        available: {
            currency: string;
            amount: number;
        }[];
        pending: {
            currency: string;
            amount: number;
        }[];
    } | undefined;
}, {
    success: boolean;
    error: string;
    operation: "get_balance";
    balance?: {
        available: {
            currency: string;
            amount: number;
        }[];
        pending: {
            currency: string;
            amount: number;
        }[];
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_payment_intents">;
    success: z.ZodBoolean;
    payment_intents: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        amount: z.ZodNumber;
        currency: z.ZodString;
        status: z.ZodEnum<["requires_payment_method", "requires_confirmation", "requires_action", "processing", "requires_capture", "canceled", "succeeded"]>;
        customer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        created: z.ZodNumber;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
        id: string;
        created: number;
        currency: string;
        amount: number;
        metadata?: Record<string, string> | undefined;
        customer?: string | null | undefined;
    }, {
        status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
        id: string;
        created: number;
        currency: string;
        amount: number;
        metadata?: Record<string, string> | undefined;
        customer?: string | null | undefined;
    }>, "many">>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "list_payment_intents";
    payment_intents?: {
        status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
        id: string;
        created: number;
        currency: string;
        amount: number;
        metadata?: Record<string, string> | undefined;
        customer?: string | null | undefined;
    }[] | undefined;
}, {
    success: boolean;
    error: string;
    operation: "list_payment_intents";
    payment_intents?: {
        status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
        id: string;
        created: number;
        currency: string;
        amount: number;
        metadata?: Record<string, string> | undefined;
        customer?: string | null | undefined;
    }[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_subscriptions">;
    success: z.ZodBoolean;
    subscriptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        customer: z.ZodString;
        status: z.ZodEnum<["incomplete", "incomplete_expired", "trialing", "active", "past_due", "canceled", "unpaid", "paused"]>;
        current_period_start: z.ZodOptional<z.ZodNumber>;
        current_period_end: z.ZodOptional<z.ZodNumber>;
        cancel_at_period_end: z.ZodBoolean;
        created: z.ZodNumber;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
        id: string;
        created: number;
        customer: string;
        cancel_at_period_end: boolean;
        metadata?: Record<string, string> | undefined;
        current_period_start?: number | undefined;
        current_period_end?: number | undefined;
    }, {
        status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
        id: string;
        created: number;
        customer: string;
        cancel_at_period_end: boolean;
        metadata?: Record<string, string> | undefined;
        current_period_start?: number | undefined;
        current_period_end?: number | undefined;
    }>, "many">>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "list_subscriptions";
    subscriptions?: {
        status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
        id: string;
        created: number;
        customer: string;
        cancel_at_period_end: boolean;
        metadata?: Record<string, string> | undefined;
        current_period_start?: number | undefined;
        current_period_end?: number | undefined;
    }[] | undefined;
}, {
    success: boolean;
    error: string;
    operation: "list_subscriptions";
    subscriptions?: {
        status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
        id: string;
        created: number;
        customer: string;
        cancel_at_period_end: boolean;
        metadata?: Record<string, string> | undefined;
        current_period_start?: number | undefined;
        current_period_end?: number | undefined;
    }[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"cancel_subscription">;
    success: z.ZodBoolean;
    subscription: z.ZodOptional<z.ZodObject<{
        id: z.ZodString;
        customer: z.ZodString;
        status: z.ZodEnum<["incomplete", "incomplete_expired", "trialing", "active", "past_due", "canceled", "unpaid", "paused"]>;
        current_period_start: z.ZodOptional<z.ZodNumber>;
        current_period_end: z.ZodOptional<z.ZodNumber>;
        cancel_at_period_end: z.ZodBoolean;
        created: z.ZodNumber;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
        id: string;
        created: number;
        customer: string;
        cancel_at_period_end: boolean;
        metadata?: Record<string, string> | undefined;
        current_period_start?: number | undefined;
        current_period_end?: number | undefined;
    }, {
        status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
        id: string;
        created: number;
        customer: string;
        cancel_at_period_end: boolean;
        metadata?: Record<string, string> | undefined;
        current_period_start?: number | undefined;
        current_period_end?: number | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "cancel_subscription";
    subscription?: {
        status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
        id: string;
        created: number;
        customer: string;
        cancel_at_period_end: boolean;
        metadata?: Record<string, string> | undefined;
        current_period_start?: number | undefined;
        current_period_end?: number | undefined;
    } | undefined;
}, {
    success: boolean;
    error: string;
    operation: "cancel_subscription";
    subscription?: {
        status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
        id: string;
        created: number;
        customer: string;
        cancel_at_period_end: boolean;
        metadata?: Record<string, string> | undefined;
        current_period_start?: number | undefined;
        current_period_end?: number | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_payment_links">;
    success: z.ZodBoolean;
    payment_links: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        url: z.ZodString;
        active: z.ZodBoolean;
        created: z.ZodOptional<z.ZodNumber>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        url: string;
        id: string;
        active: boolean;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
    }, {
        url: string;
        id: string;
        active: boolean;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
    }>, "many">>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "list_payment_links";
    payment_links?: {
        url: string;
        id: string;
        active: boolean;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
    }[] | undefined;
}, {
    success: boolean;
    error: string;
    operation: "list_payment_links";
    payment_links?: {
        url: string;
        id: string;
        active: boolean;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
    }[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_subscription">;
    success: z.ZodBoolean;
    subscription: z.ZodOptional<z.ZodObject<{
        id: z.ZodString;
        customer: z.ZodString;
        status: z.ZodEnum<["incomplete", "incomplete_expired", "trialing", "active", "past_due", "canceled", "unpaid", "paused"]>;
        current_period_start: z.ZodOptional<z.ZodNumber>;
        current_period_end: z.ZodOptional<z.ZodNumber>;
        cancel_at_period_end: z.ZodBoolean;
        created: z.ZodNumber;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
        id: string;
        created: number;
        customer: string;
        cancel_at_period_end: boolean;
        metadata?: Record<string, string> | undefined;
        current_period_start?: number | undefined;
        current_period_end?: number | undefined;
    }, {
        status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
        id: string;
        created: number;
        customer: string;
        cancel_at_period_end: boolean;
        metadata?: Record<string, string> | undefined;
        current_period_start?: number | undefined;
        current_period_end?: number | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    success: boolean;
    error: string;
    operation: "create_subscription";
    subscription?: {
        status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
        id: string;
        created: number;
        customer: string;
        cancel_at_period_end: boolean;
        metadata?: Record<string, string> | undefined;
        current_period_start?: number | undefined;
        current_period_end?: number | undefined;
    } | undefined;
}, {
    success: boolean;
    error: string;
    operation: "create_subscription";
    subscription?: {
        status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
        id: string;
        created: number;
        customer: string;
        cancel_at_period_end: boolean;
        metadata?: Record<string, string> | undefined;
        current_period_start?: number | undefined;
        current_period_end?: number | undefined;
    } | undefined;
}>]>;
export type StripeParamsInput = z.input<typeof StripeParamsSchema>;
export type StripeParams = z.output<typeof StripeParamsSchema>;
export type StripeResult = z.output<typeof StripeResultSchema>;
//# sourceMappingURL=stripe.schema.d.ts.map