import type { DeferredJobsApiClient } from '../../api'; import type { Newsroom, NewsroomGallery } from '../../types'; import type { ListOptions, ListResponse, ReorderRequest, CreateRequest, UpdateRequest, SearchOptions } from './types'; type NewsroomId = Newsroom['uuid'] | Newsroom['id']; type GalleryId = NewsroomGallery['uuid'] | NewsroomGallery['id']; export type Client = ReturnType; export declare function createClient(api: DeferredJobsApiClient): { get: (newsroomId: NewsroomId, id: NewsroomGallery['uuid']) => Promise; list: (newsroomId: NewsroomId, options?: ListOptions) => Promise; search: (newsroomId: NewsroomId, options?: SearchOptions) => Promise; order: (newsroomId: NewsroomId, payload: ReorderRequest) => Promise; create: (newsroomId: NewsroomId, payload: CreateRequest) => Promise; update: (newsroomId: NewsroomId, galleryId: GalleryId, payload: UpdateRequest) => Promise; delete: (newsroomId: NewsroomId, galleryId: GalleryId) => Promise; }; export {};