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, {
    id: string;
    name: string;
    created: number;
    active: boolean;
    description?: string | null | undefined;
    metadata?: Record<string, string> | undefined;
}, {
    id: string;
    name: 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, {
    id: string;
    created: number;
    type: "one_time" | "recurring";
    active: boolean;
    product: string;
    unit_amount: number | null;
    currency: string;
    metadata?: Record<string, string> | undefined;
}, {
    id: string;
    created: number;
    type: "one_time" | "recurring";
    active: boolean;
    product: string;
    unit_amount: number | null;
    currency: string;
    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, {
    id: string;
    active: boolean;
    url: string;
    created?: number | undefined;
    metadata?: Record<string, string> | undefined;
}, {
    id: string;
    active: boolean;
    url: string;
    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>;
    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, {
    id: string;
    status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
    currency: string;
    customer: string | null;
    total: number;
    created?: number | undefined;
    metadata?: Record<string, string> | undefined;
    hosted_invoice_url?: string | null | undefined;
    invoice_pdf?: string | null | undefined;
}, {
    id: string;
    status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
    currency: string;
    customer: string | null;
    total: number;
    created?: number | undefined;
    metadata?: Record<string, string> | undefined;
    hosted_invoice_url?: string | null | undefined;
    invoice_pdf?: 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, {
    id: string;
    created: number;
    status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
    currency: string;
    amount: number;
    metadata?: Record<string, string> | undefined;
    customer?: string | null | undefined;
}, {
    id: string;
    created: number;
    status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
    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, {
    id: string;
    created: number;
    status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
    customer: string;
    cancel_at_period_end: boolean;
    metadata?: Record<string, string> | undefined;
    current_period_start?: number | undefined;
    current_period_end?: number | undefined;
}, {
    id: string;
    created: number;
    status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
    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;
    metadata?: Record<string, string> | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    name: string;
    operation: "create_customer";
    email?: string | undefined;
    metadata?: Record<string, string> | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_customers">;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    email: 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;
}, {
    operation: "list_customers";
    email?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | 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;
    metadata?: Record<string, string> | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    name: string;
    operation: "create_product";
    description?: string | undefined;
    metadata?: Record<string, string> | undefined;
    credentials?: Partial<Record<CredentialType, 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;
    active?: boolean | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "list_products";
    active?: boolean | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | 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: "day" | "week" | "month" | "year";
        interval_count: number;
    }, {
        interval: "day" | "week" | "month" | "year";
        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, {
    product: string;
    unit_amount: number;
    currency: string;
    operation: "create_price";
    metadata?: Record<string, string> | undefined;
    recurring?: {
        interval: "day" | "week" | "month" | "year";
        interval_count: number;
    } | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    product: string;
    unit_amount: number;
    operation: "create_price";
    metadata?: Record<string, string> | undefined;
    currency?: string | undefined;
    recurring?: {
        interval: "day" | "week" | "month" | "year";
        interval_count?: number | undefined;
    } | undefined;
    credentials?: Partial<Record<CredentialType, string>> | 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;
    active?: boolean | undefined;
    product?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "list_prices";
    active?: boolean | undefined;
    product?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | 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;
    metadata?: Record<string, string> | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    redirect_url?: string | undefined;
}, {
    operation: "create_payment_link";
    price: string;
    metadata?: Record<string, string> | undefined;
    credentials?: Partial<Record<CredentialType, 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>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    customer: string;
    operation: "create_invoice";
    auto_advance: boolean;
    collection_method: "charge_automatically" | "send_invoice";
    metadata?: Record<string, string> | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    days_until_due?: number | undefined;
}, {
    customer: string;
    operation: "create_invoice";
    metadata?: Record<string, string> | undefined;
    credentials?: Partial<Record<CredentialType, 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"]>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_invoices";
    limit: number;
    status?: "draft" | "open" | "paid" | "uncollectible" | "void" | undefined;
    customer?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "list_invoices";
    status?: "draft" | "open" | "paid" | "uncollectible" | "void" | undefined;
    customer?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | 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<"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;
    customer?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "list_payment_intents";
    customer?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | 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?: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused" | "all" | undefined;
    customer?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "list_subscriptions";
    status?: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused" | "all" | undefined;
    customer?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | 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, {
    cancel_at_period_end: boolean;
    operation: "cancel_subscription";
    subscription_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "cancel_subscription";
    subscription_id: string;
    cancel_at_period_end?: boolean | undefined;
    credentials?: Partial<Record<CredentialType, string>> | 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;
    active?: boolean | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "list_payment_links";
    active?: boolean | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | 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, {
    customer: string;
    operation: "create_subscription";
    price: string;
    payment_behavior: "default_incomplete" | "error_if_incomplete" | "allow_incomplete";
    metadata?: Record<string, string> | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    trial_period_days?: number | undefined;
}, {
    customer: string;
    operation: "create_subscription";
    price: string;
    metadata?: Record<string, string> | undefined;
    credentials?: Partial<Record<CredentialType, 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, {
    operation: "create_customer";
    success: boolean;
    error: string;
    customer?: {
        id: string;
        created: number;
        name?: string | null | undefined;
        email?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    } | undefined;
}, {
    operation: "create_customer";
    success: boolean;
    error: string;
    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">>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    operation: "list_customers";
    success: boolean;
    error: string;
    customers?: {
        id: string;
        created: number;
        name?: string | null | undefined;
        email?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    }[] | undefined;
}, {
    operation: "list_customers";
    success: boolean;
    error: string;
    customers?: {
        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, {
        id: string;
        name: string;
        created: number;
        active: boolean;
        description?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    }, {
        id: string;
        name: string;
        created: number;
        active: boolean;
        description?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    operation: "create_product";
    success: boolean;
    error: string;
    product?: {
        id: string;
        name: string;
        created: number;
        active: boolean;
        description?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    } | undefined;
}, {
    operation: "create_product";
    success: boolean;
    error: string;
    product?: {
        id: string;
        name: 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, {
        id: string;
        name: string;
        created: number;
        active: boolean;
        description?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    }, {
        id: string;
        name: string;
        created: number;
        active: boolean;
        description?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    }>, "many">>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    operation: "list_products";
    success: boolean;
    error: string;
    products?: {
        id: string;
        name: string;
        created: number;
        active: boolean;
        description?: string | null | undefined;
        metadata?: Record<string, string> | undefined;
    }[] | undefined;
}, {
    operation: "list_products";
    success: boolean;
    error: string;
    products?: {
        id: string;
        name: 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, {
        id: string;
        created: number;
        type: "one_time" | "recurring";
        active: boolean;
        product: string;
        unit_amount: number | null;
        currency: string;
        metadata?: Record<string, string> | undefined;
    }, {
        id: string;
        created: number;
        type: "one_time" | "recurring";
        active: boolean;
        product: string;
        unit_amount: number | null;
        currency: string;
        metadata?: Record<string, string> | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    operation: "create_price";
    success: boolean;
    error: string;
    price?: {
        id: string;
        created: number;
        type: "one_time" | "recurring";
        active: boolean;
        product: string;
        unit_amount: number | null;
        currency: string;
        metadata?: Record<string, string> | undefined;
    } | undefined;
}, {
    operation: "create_price";
    success: boolean;
    error: string;
    price?: {
        id: string;
        created: number;
        type: "one_time" | "recurring";
        active: boolean;
        product: string;
        unit_amount: number | null;
        currency: string;
        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, {
        id: string;
        created: number;
        type: "one_time" | "recurring";
        active: boolean;
        product: string;
        unit_amount: number | null;
        currency: string;
        metadata?: Record<string, string> | undefined;
    }, {
        id: string;
        created: number;
        type: "one_time" | "recurring";
        active: boolean;
        product: string;
        unit_amount: number | null;
        currency: string;
        metadata?: Record<string, string> | undefined;
    }>, "many">>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    operation: "list_prices";
    success: boolean;
    error: string;
    prices?: {
        id: string;
        created: number;
        type: "one_time" | "recurring";
        active: boolean;
        product: string;
        unit_amount: number | null;
        currency: string;
        metadata?: Record<string, string> | undefined;
    }[] | undefined;
}, {
    operation: "list_prices";
    success: boolean;
    error: string;
    prices?: {
        id: string;
        created: number;
        type: "one_time" | "recurring";
        active: boolean;
        product: string;
        unit_amount: number | null;
        currency: string;
        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, {
        id: string;
        active: boolean;
        url: string;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
    }, {
        id: string;
        active: boolean;
        url: string;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    operation: "create_payment_link";
    success: boolean;
    error: string;
    payment_link?: {
        id: string;
        active: boolean;
        url: string;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
    } | undefined;
}, {
    operation: "create_payment_link";
    success: boolean;
    error: string;
    payment_link?: {
        id: string;
        active: boolean;
        url: string;
        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>;
        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, {
        id: string;
        status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
        currency: string;
        customer: string | null;
        total: number;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    }, {
        id: string;
        status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
        currency: string;
        customer: string | null;
        total: number;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    operation: "create_invoice";
    success: boolean;
    error: string;
    invoice?: {
        id: string;
        status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
        currency: string;
        customer: string | null;
        total: number;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    } | undefined;
}, {
    operation: "create_invoice";
    success: boolean;
    error: string;
    invoice?: {
        id: string;
        status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
        currency: string;
        customer: string | null;
        total: number;
        created?: number | undefined;
        metadata?: Record<string, string> | 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>;
        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, {
        id: string;
        status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
        currency: string;
        customer: string | null;
        total: number;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    }, {
        id: string;
        status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
        currency: string;
        customer: string | null;
        total: number;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    }>, "many">>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    operation: "list_invoices";
    success: boolean;
    error: string;
    invoices?: {
        id: string;
        status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
        currency: string;
        customer: string | null;
        total: number;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    }[] | undefined;
}, {
    operation: "list_invoices";
    success: boolean;
    error: string;
    invoices?: {
        id: string;
        status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
        currency: string;
        customer: string | null;
        total: number;
        created?: number | undefined;
        metadata?: Record<string, string> | 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>;
        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, {
        id: string;
        status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
        currency: string;
        customer: string | null;
        total: number;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    }, {
        id: string;
        status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
        currency: string;
        customer: string | null;
        total: number;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    operation: "retrieve_invoice";
    success: boolean;
    error: string;
    invoice?: {
        id: string;
        status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
        currency: string;
        customer: string | null;
        total: number;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    } | undefined;
}, {
    operation: "retrieve_invoice";
    success: boolean;
    error: string;
    invoice?: {
        id: string;
        status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
        currency: string;
        customer: string | null;
        total: number;
        created?: number | undefined;
        metadata?: Record<string, string> | 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>;
        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, {
        id: string;
        status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
        currency: string;
        customer: string | null;
        total: number;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    }, {
        id: string;
        status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
        currency: string;
        customer: string | null;
        total: number;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    operation: "finalize_invoice";
    success: boolean;
    error: string;
    invoice?: {
        id: string;
        status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
        currency: string;
        customer: string | null;
        total: number;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
        hosted_invoice_url?: string | null | undefined;
        invoice_pdf?: string | null | undefined;
    } | undefined;
}, {
    operation: "finalize_invoice";
    success: boolean;
    error: string;
    invoice?: {
        id: string;
        status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
        currency: string;
        customer: string | null;
        total: number;
        created?: number | undefined;
        metadata?: Record<string, string> | 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, {
    operation: "get_balance";
    success: boolean;
    error: string;
    balance?: {
        available: {
            currency: string;
            amount: number;
        }[];
        pending: {
            currency: string;
            amount: number;
        }[];
    } | undefined;
}, {
    operation: "get_balance";
    success: boolean;
    error: string;
    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, {
        id: string;
        created: number;
        status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
        currency: string;
        amount: number;
        metadata?: Record<string, string> | undefined;
        customer?: string | null | undefined;
    }, {
        id: string;
        created: number;
        status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
        currency: string;
        amount: number;
        metadata?: Record<string, string> | undefined;
        customer?: string | null | undefined;
    }>, "many">>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    operation: "list_payment_intents";
    success: boolean;
    error: string;
    payment_intents?: {
        id: string;
        created: number;
        status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
        currency: string;
        amount: number;
        metadata?: Record<string, string> | undefined;
        customer?: string | null | undefined;
    }[] | undefined;
}, {
    operation: "list_payment_intents";
    success: boolean;
    error: string;
    payment_intents?: {
        id: string;
        created: number;
        status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
        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, {
        id: string;
        created: number;
        status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
        customer: string;
        cancel_at_period_end: boolean;
        metadata?: Record<string, string> | undefined;
        current_period_start?: number | undefined;
        current_period_end?: number | undefined;
    }, {
        id: string;
        created: number;
        status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
        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, {
    operation: "list_subscriptions";
    success: boolean;
    error: string;
    subscriptions?: {
        id: string;
        created: number;
        status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
        customer: string;
        cancel_at_period_end: boolean;
        metadata?: Record<string, string> | undefined;
        current_period_start?: number | undefined;
        current_period_end?: number | undefined;
    }[] | undefined;
}, {
    operation: "list_subscriptions";
    success: boolean;
    error: string;
    subscriptions?: {
        id: string;
        created: number;
        status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
        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, {
        id: string;
        created: number;
        status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
        customer: string;
        cancel_at_period_end: boolean;
        metadata?: Record<string, string> | undefined;
        current_period_start?: number | undefined;
        current_period_end?: number | undefined;
    }, {
        id: string;
        created: number;
        status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
        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, {
    operation: "cancel_subscription";
    success: boolean;
    error: string;
    subscription?: {
        id: string;
        created: number;
        status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
        customer: string;
        cancel_at_period_end: boolean;
        metadata?: Record<string, string> | undefined;
        current_period_start?: number | undefined;
        current_period_end?: number | undefined;
    } | undefined;
}, {
    operation: "cancel_subscription";
    success: boolean;
    error: string;
    subscription?: {
        id: string;
        created: number;
        status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
        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, {
        id: string;
        active: boolean;
        url: string;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
    }, {
        id: string;
        active: boolean;
        url: string;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
    }>, "many">>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    operation: "list_payment_links";
    success: boolean;
    error: string;
    payment_links?: {
        id: string;
        active: boolean;
        url: string;
        created?: number | undefined;
        metadata?: Record<string, string> | undefined;
    }[] | undefined;
}, {
    operation: "list_payment_links";
    success: boolean;
    error: string;
    payment_links?: {
        id: string;
        active: boolean;
        url: string;
        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, {
        id: string;
        created: number;
        status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
        customer: string;
        cancel_at_period_end: boolean;
        metadata?: Record<string, string> | undefined;
        current_period_start?: number | undefined;
        current_period_end?: number | undefined;
    }, {
        id: string;
        created: number;
        status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
        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, {
    operation: "create_subscription";
    success: boolean;
    error: string;
    subscription?: {
        id: string;
        created: number;
        status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
        customer: string;
        cancel_at_period_end: boolean;
        metadata?: Record<string, string> | undefined;
        current_period_start?: number | undefined;
        current_period_end?: number | undefined;
    } | undefined;
}, {
    operation: "create_subscription";
    success: boolean;
    error: string;
    subscription?: {
        id: string;
        created: number;
        status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
        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