import type { DeferredJobsApiClient } from '../../api'; import type { NewsroomDomain, Newsroom } from '../../types'; import type { LinkRequest } from './types'; type NewsroomId = Newsroom['uuid'] | Newsroom['id']; export type Client = ReturnType; export declare function createClient(api: DeferredJobsApiClient): { get: (newsroomId: NewsroomId, domain: string) => Promise; list: (newsroomId: NewsroomId) => Promise; link: (newsroomId: NewsroomId, payload: LinkRequest) => Promise; unlink: (newsroomId: NewsroomId, domain: string) => Promise; check: (newsroomId: NewsroomId, domain: string) => Promise; shareDnsInstructions: (newsroomId: NewsroomId, domain: string) => Promise; }; export {};