import Base, { ResourcePath } from '../../base-rest-resource'; import { SessionInterface } from '../../auth/session/types'; import { ApiVersion } from '../../base-types'; interface FindArgs { session: SessionInterface; id: number | string; fields?: unknown; } interface DeleteArgs { session: SessionInterface; id: number | string; } interface AllArgs { [key: string]: unknown; session: SessionInterface; limit?: unknown; ids?: unknown; since_id?: unknown; title?: unknown; product_id?: unknown; handle?: unknown; updated_at_min?: unknown; updated_at_max?: unknown; published_at_min?: unknown; published_at_max?: unknown; published_status?: unknown; fields?: unknown; } interface CountArgs { [key: string]: unknown; session: SessionInterface; title?: unknown; product_id?: unknown; updated_at_min?: unknown; updated_at_max?: unknown; published_at_min?: unknown; published_at_max?: unknown; published_status?: unknown; } export declare class CustomCollection extends Base { static API_VERSION: ApiVersion; protected static NAME: string; protected static PLURAL_NAME: string; protected static HAS_ONE: { [key: string]: typeof Base; }; protected static HAS_MANY: { [key: string]: typeof Base; }; protected static PATHS: ResourcePath[]; static find({ session, id, fields }: FindArgs): Promise; static delete({ session, id }: DeleteArgs): Promise; static all({ session, limit, ids, since_id, title, product_id, handle, updated_at_min, updated_at_max, published_at_min, published_at_max, published_status, fields, ...otherArgs }: AllArgs): Promise; static count({ session, title, product_id, updated_at_min, updated_at_max, published_at_min, published_at_max, published_status, ...otherArgs }: CountArgs): Promise; title: string | null; body_html: string | null; handle: string | null; id: number | null; image: string | { [key: string]: unknown; } | null; published: boolean | null; published_at: string | null; published_scope: string | null; sort_order: string | null; template_suffix: string | null; updated_at: string | null; } export {}; //# sourceMappingURL=custom_collection.d.ts.map