import type { Tracer } from "@opentelemetry/api"; import type { ApplicationHashChangeSource } from "@superblocksteam/shared"; import type { DraftChange, DraftInterface } from "@superblocksteam/vite-plugin-file-sync/draft-interface"; export declare class DevFileClient implements DraftInterface { private readonly options; private readonly wsUrl; private turnLockOwner; private turnLockHeartbeat; private turnLockOperation; private readonly shutdownController; constructor(options: { applicationId: string; devUrl: string; getToken: () => string | undefined; tracer: Tracer; }); private call; applyDraftChanges(changes: DraftChange[]): Promise; createDraftFile(filePath: string, draftContent: string | Buffer): Promise; createDraftMarkerOnly(filePath: string): Promise; createDraftDelete(filePath: string): Promise; hasLocalDraftChanges(): Promise; waitForAppFiles(): Promise; getBranchName(): Promise; shutdown(): Promise; private queueTurnLockOperation; acquireTurnLock(owner: string, chatSessionId?: string): Promise; releaseTurnLock(owner?: string): Promise; acceptDraft(request: { silently?: boolean; }): Promise<{ branchName: string; commitId: string; warning?: { code: "draft_state_cleanup_failed"; message: string; }; }>; rejectDraft(request: { silently?: boolean; }): Promise; clearDraftState(): Promise; reportDraftStateCleared(): Promise; uploadDirectory(source: ApplicationHashChangeSource): Promise; syncCurrentDirectoryWithDraftsNow(source: ApplicationHashChangeSource): Promise<{ directoryHash: string; commitId?: string; }>; getDraftDiff(specificPaths: string[]): Promise; getDraftChanges(): ReturnType; } //# sourceMappingURL=dev-file-client.d.mts.map