import { z } from 'zod';
import { CredentialType } from '@bubblelab/shared-schemas';
export declare const HubSpotParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
    operation: z.ZodLiteral<"create_record">;
    object_type: z.ZodEnum<["contacts", "companies", "deals", "tickets"]>;
    properties: z.ZodRecord<z.ZodString, z.ZodString>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    properties: Record<string, string>;
    operation: "create_record";
    object_type: "deals" | "contacts" | "companies" | "tickets";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    properties: Record<string, string>;
    operation: "create_record";
    object_type: "deals" | "contacts" | "companies" | "tickets";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_record">;
    object_type: z.ZodEnum<["contacts", "companies", "deals", "tickets"]>;
    record_id: z.ZodString;
    properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "get_record";
    record_id: string;
    object_type: "deals" | "contacts" | "companies" | "tickets";
    properties?: string[] | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "get_record";
    record_id: string;
    object_type: "deals" | "contacts" | "companies" | "tickets";
    properties?: string[] | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"update_record">;
    object_type: z.ZodEnum<["contacts", "companies", "deals", "tickets"]>;
    record_id: z.ZodString;
    properties: z.ZodRecord<z.ZodString, z.ZodString>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    properties: Record<string, string>;
    operation: "update_record";
    record_id: string;
    object_type: "deals" | "contacts" | "companies" | "tickets";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    properties: Record<string, string>;
    operation: "update_record";
    record_id: string;
    object_type: "deals" | "contacts" | "companies" | "tickets";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"search_records">;
    object_type: z.ZodEnum<["contacts", "companies", "deals", "tickets"]>;
    filter_groups: z.ZodArray<z.ZodObject<{
        filters: z.ZodArray<z.ZodObject<{
            propertyName: z.ZodString;
            operator: z.ZodEnum<["EQ", "NEQ", "LT", "LTE", "GT", "GTE", "BETWEEN", "IN", "NOT_IN", "HAS_PROPERTY", "NOT_HAS_PROPERTY", "CONTAINS_TOKEN", "NOT_CONTAINS_TOKEN"]>;
            value: z.ZodOptional<z.ZodString>;
            highValue: z.ZodOptional<z.ZodString>;
            values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        }, "strip", z.ZodTypeAny, {
            propertyName: string;
            operator: "GT" | "IN" | "LT" | "EQ" | "NEQ" | "LTE" | "GTE" | "BETWEEN" | "NOT_IN" | "HAS_PROPERTY" | "NOT_HAS_PROPERTY" | "CONTAINS_TOKEN" | "NOT_CONTAINS_TOKEN";
            value?: string | undefined;
            values?: string[] | undefined;
            highValue?: string | undefined;
        }, {
            propertyName: string;
            operator: "GT" | "IN" | "LT" | "EQ" | "NEQ" | "LTE" | "GTE" | "BETWEEN" | "NOT_IN" | "HAS_PROPERTY" | "NOT_HAS_PROPERTY" | "CONTAINS_TOKEN" | "NOT_CONTAINS_TOKEN";
            value?: string | undefined;
            values?: string[] | undefined;
            highValue?: string | undefined;
        }>, "many">;
    }, "strip", z.ZodTypeAny, {
        filters: {
            propertyName: string;
            operator: "GT" | "IN" | "LT" | "EQ" | "NEQ" | "LTE" | "GTE" | "BETWEEN" | "NOT_IN" | "HAS_PROPERTY" | "NOT_HAS_PROPERTY" | "CONTAINS_TOKEN" | "NOT_CONTAINS_TOKEN";
            value?: string | undefined;
            values?: string[] | undefined;
            highValue?: string | undefined;
        }[];
    }, {
        filters: {
            propertyName: string;
            operator: "GT" | "IN" | "LT" | "EQ" | "NEQ" | "LTE" | "GTE" | "BETWEEN" | "NOT_IN" | "HAS_PROPERTY" | "NOT_HAS_PROPERTY" | "CONTAINS_TOKEN" | "NOT_CONTAINS_TOKEN";
            value?: string | undefined;
            values?: string[] | undefined;
            highValue?: string | undefined;
        }[];
    }>, "many">;
    properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    after: z.ZodOptional<z.ZodString>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "search_records";
    limit: number;
    object_type: "deals" | "contacts" | "companies" | "tickets";
    filter_groups: {
        filters: {
            propertyName: string;
            operator: "GT" | "IN" | "LT" | "EQ" | "NEQ" | "LTE" | "GTE" | "BETWEEN" | "NOT_IN" | "HAS_PROPERTY" | "NOT_HAS_PROPERTY" | "CONTAINS_TOKEN" | "NOT_CONTAINS_TOKEN";
            value?: string | undefined;
            values?: string[] | undefined;
            highValue?: string | undefined;
        }[];
    }[];
    properties?: string[] | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    after?: string | undefined;
}, {
    operation: "search_records";
    object_type: "deals" | "contacts" | "companies" | "tickets";
    filter_groups: {
        filters: {
            propertyName: string;
            operator: "GT" | "IN" | "LT" | "EQ" | "NEQ" | "LTE" | "GTE" | "BETWEEN" | "NOT_IN" | "HAS_PROPERTY" | "NOT_HAS_PROPERTY" | "CONTAINS_TOKEN" | "NOT_CONTAINS_TOKEN";
            value?: string | undefined;
            values?: string[] | undefined;
            highValue?: string | undefined;
        }[];
    }[];
    properties?: string[] | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    limit?: number | undefined;
    after?: string | undefined;
}>]>;
export declare const HubSpotResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
    operation: z.ZodLiteral<"create_record">;
    success: z.ZodBoolean;
    record: z.ZodOptional<z.ZodObject<{
        id: z.ZodString;
        properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
        createdAt: z.ZodOptional<z.ZodString>;
        updatedAt: z.ZodOptional<z.ZodString>;
        archived: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        properties: Record<string, unknown>;
        id: string;
        createdAt?: string | undefined;
        archived?: boolean | undefined;
        updatedAt?: string | undefined;
    }, {
        properties: Record<string, unknown>;
        id: string;
        createdAt?: string | undefined;
        archived?: boolean | undefined;
        updatedAt?: string | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "create_record";
    record?: {
        properties: Record<string, unknown>;
        id: string;
        createdAt?: string | undefined;
        archived?: boolean | undefined;
        updatedAt?: string | undefined;
    } | undefined;
}, {
    error: string;
    success: boolean;
    operation: "create_record";
    record?: {
        properties: Record<string, unknown>;
        id: string;
        createdAt?: string | undefined;
        archived?: boolean | undefined;
        updatedAt?: string | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_record">;
    success: z.ZodBoolean;
    record: z.ZodOptional<z.ZodObject<{
        id: z.ZodString;
        properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
        createdAt: z.ZodOptional<z.ZodString>;
        updatedAt: z.ZodOptional<z.ZodString>;
        archived: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        properties: Record<string, unknown>;
        id: string;
        createdAt?: string | undefined;
        archived?: boolean | undefined;
        updatedAt?: string | undefined;
    }, {
        properties: Record<string, unknown>;
        id: string;
        createdAt?: string | undefined;
        archived?: boolean | undefined;
        updatedAt?: string | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "get_record";
    record?: {
        properties: Record<string, unknown>;
        id: string;
        createdAt?: string | undefined;
        archived?: boolean | undefined;
        updatedAt?: string | undefined;
    } | undefined;
}, {
    error: string;
    success: boolean;
    operation: "get_record";
    record?: {
        properties: Record<string, unknown>;
        id: string;
        createdAt?: string | undefined;
        archived?: boolean | undefined;
        updatedAt?: string | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"update_record">;
    success: z.ZodBoolean;
    record: z.ZodOptional<z.ZodObject<{
        id: z.ZodString;
        properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
        createdAt: z.ZodOptional<z.ZodString>;
        updatedAt: z.ZodOptional<z.ZodString>;
        archived: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        properties: Record<string, unknown>;
        id: string;
        createdAt?: string | undefined;
        archived?: boolean | undefined;
        updatedAt?: string | undefined;
    }, {
        properties: Record<string, unknown>;
        id: string;
        createdAt?: string | undefined;
        archived?: boolean | undefined;
        updatedAt?: string | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "update_record";
    record?: {
        properties: Record<string, unknown>;
        id: string;
        createdAt?: string | undefined;
        archived?: boolean | undefined;
        updatedAt?: string | undefined;
    } | undefined;
}, {
    error: string;
    success: boolean;
    operation: "update_record";
    record?: {
        properties: Record<string, unknown>;
        id: string;
        createdAt?: string | undefined;
        archived?: boolean | undefined;
        updatedAt?: string | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"search_records">;
    success: z.ZodBoolean;
    results: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
        createdAt: z.ZodOptional<z.ZodString>;
        updatedAt: z.ZodOptional<z.ZodString>;
        archived: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        properties: Record<string, unknown>;
        id: string;
        createdAt?: string | undefined;
        archived?: boolean | undefined;
        updatedAt?: string | undefined;
    }, {
        properties: Record<string, unknown>;
        id: string;
        createdAt?: string | undefined;
        archived?: boolean | undefined;
        updatedAt?: string | undefined;
    }>, "many">>;
    total: z.ZodOptional<z.ZodNumber>;
    paging: z.ZodOptional<z.ZodObject<{
        next: z.ZodOptional<z.ZodObject<{
            after: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            after: string;
        }, {
            after: string;
        }>>;
    }, "strip", z.ZodTypeAny, {
        next?: {
            after: string;
        } | undefined;
    }, {
        next?: {
            after: string;
        } | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "search_records";
    total?: number | undefined;
    results?: {
        properties: Record<string, unknown>;
        id: string;
        createdAt?: string | undefined;
        archived?: boolean | undefined;
        updatedAt?: string | undefined;
    }[] | undefined;
    paging?: {
        next?: {
            after: string;
        } | undefined;
    } | undefined;
}, {
    error: string;
    success: boolean;
    operation: "search_records";
    total?: number | undefined;
    results?: {
        properties: Record<string, unknown>;
        id: string;
        createdAt?: string | undefined;
        archived?: boolean | undefined;
        updatedAt?: string | undefined;
    }[] | undefined;
    paging?: {
        next?: {
            after: string;
        } | undefined;
    } | undefined;
}>]>;
export type HubSpotParams = z.output<typeof HubSpotParamsSchema>;
export type HubSpotParamsInput = z.input<typeof HubSpotParamsSchema>;
export type HubSpotResult = z.output<typeof HubSpotResultSchema>;
//# sourceMappingURL=hubspot.schema.d.ts.map