export declare class ShopifyService {
    private get shop();
    private get token();
    private get version();
    configured(): boolean;
    shopDomain(): string;
    private req;
    tagOrder(orderId: string, tags: string[], shop?: string, token?: string): Promise<boolean>;
    listProducts(opts?: {
        query?: string;
        limit?: number;
        shop?: string;
        token?: string;
    }): Promise<{
        title: string;
        handle: string;
        url: string;
    }[]>;
    createGiftCard(amount: number, note: string, shop?: string, token?: string): Promise<{
        code?: string;
        error?: string;
    }>;
    shopInfo(shop?: string, token?: string): Promise<{
        name: string;
        domain: string;
    }>;
    private graphql;
    createDiscountCode(code: string, type: 'PERCENT' | 'FIXED', value: number, opts?: {
        usageLimit?: number | null;
        oncePerCustomer?: boolean;
        minOrderValue?: number | null;
        minCartQty?: number | null;
        endsAt?: string | null;
        combines?: {
            product?: boolean;
            order?: boolean;
            shipping?: boolean;
        } | null;
        shop?: string;
        token?: string;
    }): Promise<{
        id: any;
        code: string;
    }>;
    listOrders(limit?: number, shop?: string, token?: string): Promise<{
        id: string;
        email: string | null;
        subtotal_price: string;
        total_price: string;
        created_at: string;
        discount_codes: {
            code: string;
        }[];
        line_titles: string[];
        line_items: {
            title: string;
            vendor: string;
            amount: number;
        }[];
        tags: string[];
    }[]>;
}
