import EcomClient from '../index'; import { Query, CollectionReference, DocumentReference, QuerySnapshot } from './reference'; import { QueryDocumentSnapshot, DocumentSnapshot } from './document'; export interface PriceListDocumentData { priceListCode: string; currenyCode: string; strategy: string; incTax: boolean; name: string; description: string; created: Date; modified: Date; } export interface SetPriceListDocumentData { priceListCode: string; currencyCode: string; strategy: string; incTax: boolean; name: string; description: string; } export declare class PriceListCollectionReference extends CollectionReference { constructor(client: EcomClient, parent: DocumentReference | null); doc(id: string): PriceListDocumentReference; add(data: SetPriceListDocumentData): Promise; get(): Promise; } export declare class PriceListDocumentReference extends DocumentReference { set(data: SetPriceListDocumentData): Promise; get(): Promise; delete(): Promise; } export declare class PriceListDocumentSnapshot extends DocumentSnapshot { } export declare class PriceListQuerySnapshot extends QuerySnapshot { constructor(query: Query, docs: QueryDocumentSnapshot[]); }