import * as Options from '../options'; import { BaseService } from '../infrastructure'; import { GiftCard } from '../interfaces'; /** * A service for manipulating Shopify Gift Cards */ export declare class GiftCards extends BaseService { constructor(shopDomain: string, accessToken: string); /** * Creates a new Gift Card. */ create(giftCard: Partial): Promise; /** * Deletes the Gift Card with the given id. */ count(): Promise; /** * Gets a paged list of up to 250 of the shop's Gift Cards * @param options Options for filtering the results. */ list(options?: Options.GiftCardOptions & Options.FieldOptions & Options.ListOptions): Promise; /** * Retrieves the Gift Card with the given id. * @param options Options for filtering the results. */ get(id: number): Promise; /** * Disable a Gift Card. */ disable(id: number): Promise; /** * Search for Giftcards matching the specified criteria * @param options Options for filtering the results. */ search(options?: Options.GiftCardOptions & Options.FieldOptions & Options.ListOptions): Promise; } export default GiftCards;