export declare const sdk: {
    auth: {
        login: (input: {
            email: string;
            password: string;
        }) => Promise<import("../types").Result<import("../types").Session>> | undefined;
        register: (input: {
            email: string;
            password: string;
            confirmPassword: string;
        }) => Promise<import("../types").Result<import("../types").Session>> | undefined;
        logout: () => Promise<import("../types").Result<true>> | undefined;
        getSession: () => Promise<import("../types").Result<import("../types").Session | null>> | undefined;
        refresh: () => Promise<import("../types").Result<import("../types").Session>> | undefined;
        getUser: () => Promise<import("../types").Result<import("../types").User>> | undefined;
    };
    commerce: {
        getProduct: (id: string) => Promise<import("../types").Result<import("../types").CommerceProduct>> | undefined;
        listProducts: () => Promise<import("../types").Result<import("../types").CommerceProduct[]>> | undefined;
        getCart: () => Promise<import("../types").Result<import("../types").CommerceCart>> | undefined;
        addToCart: (item: {
            productId: string;
            variantId?: string;
            quantity: number;
        }) => Promise<import("../types").Result<import("../types").CommerceCart>> | undefined;
        updateCartItem: (id: string, qty: number) => Promise<import("../types").Result<import("../types").CommerceCart>> | undefined;
        removeCartItem: (id: string) => Promise<import("../types").Result<import("../types").CommerceCart>> | undefined;
        clearCart: () => Promise<import("../types").Result<import("../types").CommerceCart>> | undefined;
    };
    search: {
        search: (query: import("../types").SearchQuery) => Promise<import("../types").SearchResult<unknown>> | undefined;
        facets: (query: import("../types").SearchQuery) => Promise<import("../types").Result<import("../types").Facet[]>> | undefined;
    };
    readonly transport: import("../adapters").TransportAdapter;
};
