import { type ServerProfileIdentity, type ServerProfileMetadataRecord } from "./protocol.js"; export interface ProfileTargetOwner { profile: ServerProfileIdentity; metadataPath: string; url: string; instanceId: string; protocolVersion: string; buildId: string; now?: () => number; warn?: (message: string) => void; } export type ProfileTargetPublicationResult = { ok: true; record: ServerProfileMetadataRecord; path: string; } | { ok: false; reason: string; path?: string; }; export declare function createProfileInstanceId(): string; export declare function publishProfileTarget(owner: ProfileTargetOwner): Promise; export declare function refreshProfileTarget(owner: ProfileTargetOwner): Promise; export declare function cleanupProfileTarget(owner: ProfileTargetOwner): Promise; //# sourceMappingURL=profileTarget.d.ts.map