import { CredentialType } from '@bubblelab/shared-schemas';
import { ServiceBubble } from '../../../types/service-bubble-class.js';
import type { BubbleContext } from '../../../types/bubble.js';
import { type SortlyParamsInput, type SortlyResult } from './sortly.schema.js';
/**
 * SortlyBubble - Integration with Sortly inventory management
 *
 * Provides operations for interacting with the Sortly API:
 * - List, get, create, update, and delete items
 * - Search items by name
 * - Move items between folders
 * - List custom field definitions
 *
 * @example
 * ```typescript
 * const result = await new SortlyBubble({
 *   operation: 'list_items',
 *   per_page: 10,
 * }).action();
 *
 * const item = await new SortlyBubble({
 *   operation: 'get_item',
 *   item_id: 12345,
 * }).action();
 * ```
 */
export declare class SortlyBubble<T extends SortlyParamsInput = SortlyParamsInput> extends ServiceBubble<T, Extract<SortlyResult, {
    operation: T['operation'];
}>> {
    static readonly service = "sortly";
    static readonly authType: "apikey";
    static readonly bubbleName: "sortly";
    static readonly type: "service";
    static readonly schema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_items">;
        folder_id: import("zod").ZodOptional<import("zod").ZodNumber>;
        page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        per_page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "list_items";
        page: number;
        per_page: number;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        folder_id?: number | undefined;
    }, {
        operation: "list_items";
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        folder_id?: number | undefined;
        page?: number | undefined;
        per_page?: number | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"get_item">;
        item_id: import("zod").ZodNumber;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "get_item";
        item_id: number;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }, {
        operation: "get_item";
        item_id: number;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"create_item">;
        name: import("zod").ZodString;
        type: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["item", "folder"]>>>;
        notes: import("zod").ZodOptional<import("zod").ZodString>;
        price: import("zod").ZodOptional<import("zod").ZodString>;
        quantity: import("zod").ZodOptional<import("zod").ZodNumber>;
        min_quantity: import("zod").ZodOptional<import("zod").ZodNumber>;
        parent_id: import("zod").ZodOptional<import("zod").ZodNumber>;
        sid: import("zod").ZodOptional<import("zod").ZodString>;
        tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        type: "folder" | "item";
        name: string;
        operation: "create_item";
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        tags?: string[] | undefined;
        price?: string | undefined;
        notes?: string | undefined;
        parent_id?: number | undefined;
        quantity?: number | undefined;
        min_quantity?: number | undefined;
        sid?: string | undefined;
    }, {
        name: string;
        operation: "create_item";
        type?: "folder" | "item" | undefined;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        tags?: string[] | undefined;
        price?: string | undefined;
        notes?: string | undefined;
        parent_id?: number | undefined;
        quantity?: number | undefined;
        min_quantity?: number | undefined;
        sid?: string | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"update_item">;
        item_id: import("zod").ZodNumber;
        name: import("zod").ZodOptional<import("zod").ZodString>;
        notes: import("zod").ZodOptional<import("zod").ZodString>;
        price: import("zod").ZodOptional<import("zod").ZodString>;
        quantity: import("zod").ZodOptional<import("zod").ZodNumber>;
        min_quantity: import("zod").ZodOptional<import("zod").ZodNumber>;
        sid: import("zod").ZodOptional<import("zod").ZodString>;
        tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "update_item";
        item_id: number;
        name?: string | undefined;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        tags?: string[] | undefined;
        price?: string | undefined;
        notes?: string | undefined;
        quantity?: number | undefined;
        min_quantity?: number | undefined;
        sid?: string | undefined;
    }, {
        operation: "update_item";
        item_id: number;
        name?: string | undefined;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        tags?: string[] | undefined;
        price?: string | undefined;
        notes?: string | undefined;
        quantity?: number | undefined;
        min_quantity?: number | undefined;
        sid?: string | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"delete_item">;
        item_id: import("zod").ZodNumber;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "delete_item";
        item_id: number;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }, {
        operation: "delete_item";
        item_id: number;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"search_items">;
        name: import("zod").ZodString;
        type: import("zod").ZodOptional<import("zod").ZodEnum<["item", "folder"]>>;
        page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        per_page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        name: string;
        operation: "search_items";
        page: number;
        per_page: number;
        type?: "folder" | "item" | undefined;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }, {
        name: string;
        operation: "search_items";
        type?: "folder" | "item" | undefined;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        page?: number | undefined;
        per_page?: number | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"move_item">;
        item_id: import("zod").ZodNumber;
        folder_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
        quantity: import("zod").ZodNumber;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "move_item";
        quantity: number;
        item_id: number;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        folder_id?: number | null | undefined;
    }, {
        operation: "move_item";
        quantity: number;
        item_id: number;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        folder_id?: number | null | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_custom_fields">;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "list_custom_fields";
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }, {
        operation: "list_custom_fields";
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }>]>;
    static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_items">;
        success: import("zod").ZodBoolean;
        items: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
            id: import("zod").ZodNumber;
            name: import("zod").ZodString;
            notes: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            price: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            quantity: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            min_quantity: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            type: import("zod").ZodEnum<["item", "folder"]>;
            parent_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            sid: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            tag_names: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>>;
            photos: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
                id: import("zod").ZodNumber;
                url: import("zod").ZodString;
            }, "strip", import("zod").ZodTypeAny, {
                url: string;
                id: number;
            }, {
                url: string;
                id: number;
            }>, "many">>>;
            custom_attribute_values: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
                id: import("zod").ZodNumber;
                custom_field_id: import("zod").ZodNumber;
                value: import("zod").ZodUnknown;
            }, "strip", import("zod").ZodTypeAny, {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }, {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }>, "many">>>;
            created_at: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            updated_at: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
        }, "strip", import("zod").ZodTypeAny, {
            type: "folder" | "item";
            name: string;
            id: number;
            created_at?: string | null | undefined;
            price?: string | null | undefined;
            notes?: string | null | undefined;
            updated_at?: string | null | undefined;
            parent_id?: number | null | undefined;
            quantity?: number | null | undefined;
            min_quantity?: number | null | undefined;
            sid?: string | null | undefined;
            tag_names?: string[] | null | undefined;
            photos?: {
                url: string;
                id: number;
            }[] | null | undefined;
            custom_attribute_values?: {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }[] | null | undefined;
        }, {
            type: "folder" | "item";
            name: string;
            id: number;
            created_at?: string | null | undefined;
            price?: string | null | undefined;
            notes?: string | null | undefined;
            updated_at?: string | null | undefined;
            parent_id?: number | null | undefined;
            quantity?: number | null | undefined;
            min_quantity?: number | null | undefined;
            sid?: string | null | undefined;
            tag_names?: string[] | null | undefined;
            photos?: {
                url: string;
                id: number;
            }[] | null | undefined;
            custom_attribute_values?: {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }[] | null | undefined;
        }>, "many">>;
        page: import("zod").ZodOptional<import("zod").ZodNumber>;
        per_page: import("zod").ZodOptional<import("zod").ZodNumber>;
        total: import("zod").ZodOptional<import("zod").ZodNumber>;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "list_items";
        items?: {
            type: "folder" | "item";
            name: string;
            id: number;
            created_at?: string | null | undefined;
            price?: string | null | undefined;
            notes?: string | null | undefined;
            updated_at?: string | null | undefined;
            parent_id?: number | null | undefined;
            quantity?: number | null | undefined;
            min_quantity?: number | null | undefined;
            sid?: string | null | undefined;
            tag_names?: string[] | null | undefined;
            photos?: {
                url: string;
                id: number;
            }[] | null | undefined;
            custom_attribute_values?: {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }[] | null | undefined;
        }[] | undefined;
        page?: number | undefined;
        total?: number | undefined;
        per_page?: number | undefined;
    }, {
        error: string;
        success: boolean;
        operation: "list_items";
        items?: {
            type: "folder" | "item";
            name: string;
            id: number;
            created_at?: string | null | undefined;
            price?: string | null | undefined;
            notes?: string | null | undefined;
            updated_at?: string | null | undefined;
            parent_id?: number | null | undefined;
            quantity?: number | null | undefined;
            min_quantity?: number | null | undefined;
            sid?: string | null | undefined;
            tag_names?: string[] | null | undefined;
            photos?: {
                url: string;
                id: number;
            }[] | null | undefined;
            custom_attribute_values?: {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }[] | null | undefined;
        }[] | undefined;
        page?: number | undefined;
        total?: number | undefined;
        per_page?: number | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"get_item">;
        success: import("zod").ZodBoolean;
        item: import("zod").ZodOptional<import("zod").ZodObject<{
            id: import("zod").ZodNumber;
            name: import("zod").ZodString;
            notes: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            price: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            quantity: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            min_quantity: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            type: import("zod").ZodEnum<["item", "folder"]>;
            parent_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            sid: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            tag_names: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>>;
            photos: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
                id: import("zod").ZodNumber;
                url: import("zod").ZodString;
            }, "strip", import("zod").ZodTypeAny, {
                url: string;
                id: number;
            }, {
                url: string;
                id: number;
            }>, "many">>>;
            custom_attribute_values: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
                id: import("zod").ZodNumber;
                custom_field_id: import("zod").ZodNumber;
                value: import("zod").ZodUnknown;
            }, "strip", import("zod").ZodTypeAny, {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }, {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }>, "many">>>;
            created_at: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            updated_at: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
        }, "strip", import("zod").ZodTypeAny, {
            type: "folder" | "item";
            name: string;
            id: number;
            created_at?: string | null | undefined;
            price?: string | null | undefined;
            notes?: string | null | undefined;
            updated_at?: string | null | undefined;
            parent_id?: number | null | undefined;
            quantity?: number | null | undefined;
            min_quantity?: number | null | undefined;
            sid?: string | null | undefined;
            tag_names?: string[] | null | undefined;
            photos?: {
                url: string;
                id: number;
            }[] | null | undefined;
            custom_attribute_values?: {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }[] | null | undefined;
        }, {
            type: "folder" | "item";
            name: string;
            id: number;
            created_at?: string | null | undefined;
            price?: string | null | undefined;
            notes?: string | null | undefined;
            updated_at?: string | null | undefined;
            parent_id?: number | null | undefined;
            quantity?: number | null | undefined;
            min_quantity?: number | null | undefined;
            sid?: string | null | undefined;
            tag_names?: string[] | null | undefined;
            photos?: {
                url: string;
                id: number;
            }[] | null | undefined;
            custom_attribute_values?: {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }[] | null | undefined;
        }>>;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "get_item";
        item?: {
            type: "folder" | "item";
            name: string;
            id: number;
            created_at?: string | null | undefined;
            price?: string | null | undefined;
            notes?: string | null | undefined;
            updated_at?: string | null | undefined;
            parent_id?: number | null | undefined;
            quantity?: number | null | undefined;
            min_quantity?: number | null | undefined;
            sid?: string | null | undefined;
            tag_names?: string[] | null | undefined;
            photos?: {
                url: string;
                id: number;
            }[] | null | undefined;
            custom_attribute_values?: {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }[] | null | undefined;
        } | undefined;
    }, {
        error: string;
        success: boolean;
        operation: "get_item";
        item?: {
            type: "folder" | "item";
            name: string;
            id: number;
            created_at?: string | null | undefined;
            price?: string | null | undefined;
            notes?: string | null | undefined;
            updated_at?: string | null | undefined;
            parent_id?: number | null | undefined;
            quantity?: number | null | undefined;
            min_quantity?: number | null | undefined;
            sid?: string | null | undefined;
            tag_names?: string[] | null | undefined;
            photos?: {
                url: string;
                id: number;
            }[] | null | undefined;
            custom_attribute_values?: {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }[] | null | undefined;
        } | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"create_item">;
        success: import("zod").ZodBoolean;
        item: import("zod").ZodOptional<import("zod").ZodObject<{
            id: import("zod").ZodNumber;
            name: import("zod").ZodString;
            notes: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            price: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            quantity: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            min_quantity: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            type: import("zod").ZodEnum<["item", "folder"]>;
            parent_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            sid: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            tag_names: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>>;
            photos: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
                id: import("zod").ZodNumber;
                url: import("zod").ZodString;
            }, "strip", import("zod").ZodTypeAny, {
                url: string;
                id: number;
            }, {
                url: string;
                id: number;
            }>, "many">>>;
            custom_attribute_values: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
                id: import("zod").ZodNumber;
                custom_field_id: import("zod").ZodNumber;
                value: import("zod").ZodUnknown;
            }, "strip", import("zod").ZodTypeAny, {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }, {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }>, "many">>>;
            created_at: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            updated_at: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
        }, "strip", import("zod").ZodTypeAny, {
            type: "folder" | "item";
            name: string;
            id: number;
            created_at?: string | null | undefined;
            price?: string | null | undefined;
            notes?: string | null | undefined;
            updated_at?: string | null | undefined;
            parent_id?: number | null | undefined;
            quantity?: number | null | undefined;
            min_quantity?: number | null | undefined;
            sid?: string | null | undefined;
            tag_names?: string[] | null | undefined;
            photos?: {
                url: string;
                id: number;
            }[] | null | undefined;
            custom_attribute_values?: {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }[] | null | undefined;
        }, {
            type: "folder" | "item";
            name: string;
            id: number;
            created_at?: string | null | undefined;
            price?: string | null | undefined;
            notes?: string | null | undefined;
            updated_at?: string | null | undefined;
            parent_id?: number | null | undefined;
            quantity?: number | null | undefined;
            min_quantity?: number | null | undefined;
            sid?: string | null | undefined;
            tag_names?: string[] | null | undefined;
            photos?: {
                url: string;
                id: number;
            }[] | null | undefined;
            custom_attribute_values?: {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }[] | null | undefined;
        }>>;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "create_item";
        item?: {
            type: "folder" | "item";
            name: string;
            id: number;
            created_at?: string | null | undefined;
            price?: string | null | undefined;
            notes?: string | null | undefined;
            updated_at?: string | null | undefined;
            parent_id?: number | null | undefined;
            quantity?: number | null | undefined;
            min_quantity?: number | null | undefined;
            sid?: string | null | undefined;
            tag_names?: string[] | null | undefined;
            photos?: {
                url: string;
                id: number;
            }[] | null | undefined;
            custom_attribute_values?: {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }[] | null | undefined;
        } | undefined;
    }, {
        error: string;
        success: boolean;
        operation: "create_item";
        item?: {
            type: "folder" | "item";
            name: string;
            id: number;
            created_at?: string | null | undefined;
            price?: string | null | undefined;
            notes?: string | null | undefined;
            updated_at?: string | null | undefined;
            parent_id?: number | null | undefined;
            quantity?: number | null | undefined;
            min_quantity?: number | null | undefined;
            sid?: string | null | undefined;
            tag_names?: string[] | null | undefined;
            photos?: {
                url: string;
                id: number;
            }[] | null | undefined;
            custom_attribute_values?: {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }[] | null | undefined;
        } | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"update_item">;
        success: import("zod").ZodBoolean;
        item: import("zod").ZodOptional<import("zod").ZodObject<{
            id: import("zod").ZodNumber;
            name: import("zod").ZodString;
            notes: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            price: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            quantity: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            min_quantity: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            type: import("zod").ZodEnum<["item", "folder"]>;
            parent_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            sid: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            tag_names: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>>;
            photos: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
                id: import("zod").ZodNumber;
                url: import("zod").ZodString;
            }, "strip", import("zod").ZodTypeAny, {
                url: string;
                id: number;
            }, {
                url: string;
                id: number;
            }>, "many">>>;
            custom_attribute_values: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
                id: import("zod").ZodNumber;
                custom_field_id: import("zod").ZodNumber;
                value: import("zod").ZodUnknown;
            }, "strip", import("zod").ZodTypeAny, {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }, {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }>, "many">>>;
            created_at: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            updated_at: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
        }, "strip", import("zod").ZodTypeAny, {
            type: "folder" | "item";
            name: string;
            id: number;
            created_at?: string | null | undefined;
            price?: string | null | undefined;
            notes?: string | null | undefined;
            updated_at?: string | null | undefined;
            parent_id?: number | null | undefined;
            quantity?: number | null | undefined;
            min_quantity?: number | null | undefined;
            sid?: string | null | undefined;
            tag_names?: string[] | null | undefined;
            photos?: {
                url: string;
                id: number;
            }[] | null | undefined;
            custom_attribute_values?: {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }[] | null | undefined;
        }, {
            type: "folder" | "item";
            name: string;
            id: number;
            created_at?: string | null | undefined;
            price?: string | null | undefined;
            notes?: string | null | undefined;
            updated_at?: string | null | undefined;
            parent_id?: number | null | undefined;
            quantity?: number | null | undefined;
            min_quantity?: number | null | undefined;
            sid?: string | null | undefined;
            tag_names?: string[] | null | undefined;
            photos?: {
                url: string;
                id: number;
            }[] | null | undefined;
            custom_attribute_values?: {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }[] | null | undefined;
        }>>;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "update_item";
        item?: {
            type: "folder" | "item";
            name: string;
            id: number;
            created_at?: string | null | undefined;
            price?: string | null | undefined;
            notes?: string | null | undefined;
            updated_at?: string | null | undefined;
            parent_id?: number | null | undefined;
            quantity?: number | null | undefined;
            min_quantity?: number | null | undefined;
            sid?: string | null | undefined;
            tag_names?: string[] | null | undefined;
            photos?: {
                url: string;
                id: number;
            }[] | null | undefined;
            custom_attribute_values?: {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }[] | null | undefined;
        } | undefined;
    }, {
        error: string;
        success: boolean;
        operation: "update_item";
        item?: {
            type: "folder" | "item";
            name: string;
            id: number;
            created_at?: string | null | undefined;
            price?: string | null | undefined;
            notes?: string | null | undefined;
            updated_at?: string | null | undefined;
            parent_id?: number | null | undefined;
            quantity?: number | null | undefined;
            min_quantity?: number | null | undefined;
            sid?: string | null | undefined;
            tag_names?: string[] | null | undefined;
            photos?: {
                url: string;
                id: number;
            }[] | null | undefined;
            custom_attribute_values?: {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }[] | null | undefined;
        } | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"delete_item">;
        success: import("zod").ZodBoolean;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "delete_item";
    }, {
        error: string;
        success: boolean;
        operation: "delete_item";
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"search_items">;
        success: import("zod").ZodBoolean;
        items: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
            id: import("zod").ZodNumber;
            name: import("zod").ZodString;
            notes: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            price: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            quantity: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            min_quantity: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            type: import("zod").ZodEnum<["item", "folder"]>;
            parent_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            sid: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            tag_names: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>>;
            photos: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
                id: import("zod").ZodNumber;
                url: import("zod").ZodString;
            }, "strip", import("zod").ZodTypeAny, {
                url: string;
                id: number;
            }, {
                url: string;
                id: number;
            }>, "many">>>;
            custom_attribute_values: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
                id: import("zod").ZodNumber;
                custom_field_id: import("zod").ZodNumber;
                value: import("zod").ZodUnknown;
            }, "strip", import("zod").ZodTypeAny, {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }, {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }>, "many">>>;
            created_at: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            updated_at: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
        }, "strip", import("zod").ZodTypeAny, {
            type: "folder" | "item";
            name: string;
            id: number;
            created_at?: string | null | undefined;
            price?: string | null | undefined;
            notes?: string | null | undefined;
            updated_at?: string | null | undefined;
            parent_id?: number | null | undefined;
            quantity?: number | null | undefined;
            min_quantity?: number | null | undefined;
            sid?: string | null | undefined;
            tag_names?: string[] | null | undefined;
            photos?: {
                url: string;
                id: number;
            }[] | null | undefined;
            custom_attribute_values?: {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }[] | null | undefined;
        }, {
            type: "folder" | "item";
            name: string;
            id: number;
            created_at?: string | null | undefined;
            price?: string | null | undefined;
            notes?: string | null | undefined;
            updated_at?: string | null | undefined;
            parent_id?: number | null | undefined;
            quantity?: number | null | undefined;
            min_quantity?: number | null | undefined;
            sid?: string | null | undefined;
            tag_names?: string[] | null | undefined;
            photos?: {
                url: string;
                id: number;
            }[] | null | undefined;
            custom_attribute_values?: {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }[] | null | undefined;
        }>, "many">>;
        page: import("zod").ZodOptional<import("zod").ZodNumber>;
        per_page: import("zod").ZodOptional<import("zod").ZodNumber>;
        total: import("zod").ZodOptional<import("zod").ZodNumber>;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "search_items";
        items?: {
            type: "folder" | "item";
            name: string;
            id: number;
            created_at?: string | null | undefined;
            price?: string | null | undefined;
            notes?: string | null | undefined;
            updated_at?: string | null | undefined;
            parent_id?: number | null | undefined;
            quantity?: number | null | undefined;
            min_quantity?: number | null | undefined;
            sid?: string | null | undefined;
            tag_names?: string[] | null | undefined;
            photos?: {
                url: string;
                id: number;
            }[] | null | undefined;
            custom_attribute_values?: {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }[] | null | undefined;
        }[] | undefined;
        page?: number | undefined;
        total?: number | undefined;
        per_page?: number | undefined;
    }, {
        error: string;
        success: boolean;
        operation: "search_items";
        items?: {
            type: "folder" | "item";
            name: string;
            id: number;
            created_at?: string | null | undefined;
            price?: string | null | undefined;
            notes?: string | null | undefined;
            updated_at?: string | null | undefined;
            parent_id?: number | null | undefined;
            quantity?: number | null | undefined;
            min_quantity?: number | null | undefined;
            sid?: string | null | undefined;
            tag_names?: string[] | null | undefined;
            photos?: {
                url: string;
                id: number;
            }[] | null | undefined;
            custom_attribute_values?: {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }[] | null | undefined;
        }[] | undefined;
        page?: number | undefined;
        total?: number | undefined;
        per_page?: number | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"move_item">;
        success: import("zod").ZodBoolean;
        item: import("zod").ZodOptional<import("zod").ZodObject<{
            id: import("zod").ZodNumber;
            name: import("zod").ZodString;
            notes: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            price: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            quantity: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            min_quantity: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            type: import("zod").ZodEnum<["item", "folder"]>;
            parent_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            sid: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            tag_names: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>>;
            photos: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
                id: import("zod").ZodNumber;
                url: import("zod").ZodString;
            }, "strip", import("zod").ZodTypeAny, {
                url: string;
                id: number;
            }, {
                url: string;
                id: number;
            }>, "many">>>;
            custom_attribute_values: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
                id: import("zod").ZodNumber;
                custom_field_id: import("zod").ZodNumber;
                value: import("zod").ZodUnknown;
            }, "strip", import("zod").ZodTypeAny, {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }, {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }>, "many">>>;
            created_at: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            updated_at: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
        }, "strip", import("zod").ZodTypeAny, {
            type: "folder" | "item";
            name: string;
            id: number;
            created_at?: string | null | undefined;
            price?: string | null | undefined;
            notes?: string | null | undefined;
            updated_at?: string | null | undefined;
            parent_id?: number | null | undefined;
            quantity?: number | null | undefined;
            min_quantity?: number | null | undefined;
            sid?: string | null | undefined;
            tag_names?: string[] | null | undefined;
            photos?: {
                url: string;
                id: number;
            }[] | null | undefined;
            custom_attribute_values?: {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }[] | null | undefined;
        }, {
            type: "folder" | "item";
            name: string;
            id: number;
            created_at?: string | null | undefined;
            price?: string | null | undefined;
            notes?: string | null | undefined;
            updated_at?: string | null | undefined;
            parent_id?: number | null | undefined;
            quantity?: number | null | undefined;
            min_quantity?: number | null | undefined;
            sid?: string | null | undefined;
            tag_names?: string[] | null | undefined;
            photos?: {
                url: string;
                id: number;
            }[] | null | undefined;
            custom_attribute_values?: {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }[] | null | undefined;
        }>>;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "move_item";
        item?: {
            type: "folder" | "item";
            name: string;
            id: number;
            created_at?: string | null | undefined;
            price?: string | null | undefined;
            notes?: string | null | undefined;
            updated_at?: string | null | undefined;
            parent_id?: number | null | undefined;
            quantity?: number | null | undefined;
            min_quantity?: number | null | undefined;
            sid?: string | null | undefined;
            tag_names?: string[] | null | undefined;
            photos?: {
                url: string;
                id: number;
            }[] | null | undefined;
            custom_attribute_values?: {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }[] | null | undefined;
        } | undefined;
    }, {
        error: string;
        success: boolean;
        operation: "move_item";
        item?: {
            type: "folder" | "item";
            name: string;
            id: number;
            created_at?: string | null | undefined;
            price?: string | null | undefined;
            notes?: string | null | undefined;
            updated_at?: string | null | undefined;
            parent_id?: number | null | undefined;
            quantity?: number | null | undefined;
            min_quantity?: number | null | undefined;
            sid?: string | null | undefined;
            tag_names?: string[] | null | undefined;
            photos?: {
                url: string;
                id: number;
            }[] | null | undefined;
            custom_attribute_values?: {
                id: number;
                custom_field_id: number;
                value?: unknown;
            }[] | null | undefined;
        } | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_custom_fields">;
        success: import("zod").ZodBoolean;
        custom_fields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
            id: import("zod").ZodNumber;
            name: import("zod").ZodString;
            type: import("zod").ZodString;
        }, "strip", import("zod").ZodTypeAny, {
            type: string;
            name: string;
            id: number;
        }, {
            type: string;
            name: string;
            id: number;
        }>, "many">>;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "list_custom_fields";
        custom_fields?: {
            type: string;
            name: string;
            id: number;
        }[] | undefined;
    }, {
        error: string;
        success: boolean;
        operation: "list_custom_fields";
        custom_fields?: {
            type: string;
            name: string;
            id: number;
        }[] | undefined;
    }>]>;
    static readonly shortDescription = "Sortly inventory management for tracking items, folders, and stock levels";
    static readonly longDescription = "\n    Sortly is a visual inventory management platform.\n    This bubble provides operations for:\n    - Listing and searching inventory items and folders\n    - Creating, updating, and deleting items\n    - Moving items between folders\n    - Listing custom field definitions\n\n    Authentication:\n    - Uses API key (available on Ultra/Enterprise plans)\n    - Key is passed via Authorization Bearer header\n\n    Use Cases:\n    - Automate inventory tracking and stock level monitoring\n    - Sync inventory data with external systems\n    - Build automated reorder workflows based on min_quantity thresholds\n    - Organize items across folders programmatically\n  ";
    static readonly alias = "inventory";
    constructor(params?: T, context?: BubbleContext);
    protected chooseCredential(): string | undefined;
    testCredential(): Promise<boolean>;
    protected performAction(context?: BubbleContext): Promise<Extract<SortlyResult, {
        operation: T['operation'];
    }>>;
    private makeSortlyRequest;
    private listItems;
    private getItem;
    private createItem;
    private updateItem;
    private deleteItem;
    private searchItems;
    private moveItem;
    private listCustomFields;
}
//# sourceMappingURL=sortly.d.ts.map