import type { ContactProjectMembershipAuthority, ContactProjectMembershipListResult, ContactProjectMembershipMutationInput, ContactProjectMembershipMutationResult, ContactProjectMembershipSnapshot } from "./project-contact-links.js"; export interface ContactsHttpProjectMembershipAuthorityOptions { baseUrl: string; apiKey: string; serviceInstance?: string; fetchImpl?: (input: string, init?: RequestInit) => Promise; } export interface ContactsAuthorityEnvironment { HASNA_CONTACTS_API_URL?: string; CONTACTS_API_URL?: string; HASNA_CONTACTS_API_KEY?: string; CONTACTS_API_KEY?: string; HASNA_CONTACTS_SERVICE_INSTANCE?: string; CONTACTS_SERVICE_INSTANCE?: string; } export declare class ContactsAuthorityHttpError extends Error { readonly status: number; readonly method: string; readonly path: string; constructor(input: { status: number; method: string; path: string; detail: string; }); } export declare class ContactsHttpProjectMembershipAuthority implements ContactProjectMembershipAuthority { readonly service_instance: string; private readonly baseUrl; private readonly apiKey; private readonly fetchImpl; constructor(options: ContactsHttpProjectMembershipAuthorityOptions); private request; readMembership(input: { contact_id: string; project_id: string; }): Promise; listProjectMemberships(input: { project_id: string; max_items: number; }): Promise; attach(input: ContactProjectMembershipMutationInput): Promise; detach(input: ContactProjectMembershipMutationInput): Promise; private mutate; } export declare function createContactsProjectMembershipAuthorityFromEnv(env?: ContactsAuthorityEnvironment | NodeJS.ProcessEnv, fetchImpl?: (input: string, init?: RequestInit) => Promise): ContactsHttpProjectMembershipAuthority; //# sourceMappingURL=contacts-authority-adapter.d.ts.map