import type { AddCliOptions, DevToolsSys, FileNode, SyncInfo } from "../types";
export declare function extractSignatureInfo(content: string): {
    contentId?: string;
    sessionKey?: string;
    snippetId?: string;
};
export interface GetAllProjectFilesOptions {
    sys?: DevToolsSys;
    basePath: string;
    globPattern?: string | string[];
    extraIgnorePatterns?: string[];
    dot?: boolean;
    deep?: number;
    gitignore?: boolean;
    onlyFiles?: boolean;
}
export declare function getAllProjectFiles({ basePath, globPattern, extraIgnorePatterns, dot, deep, gitignore, sys, onlyFiles, }: GetAllProjectFilesOptions): Promise<string[]>;
export declare function findBuilderFiles(basePath: string, targetContentId: string, targetSessionKey: string): Promise<FileNode[]>;
export declare function filterNonImportantFiles(files: string[]): string[];
export declare function getIgnorePatterns(basePath: string): (path: string) => boolean;
export declare function watchDirectory(basePath: string, syncInfo: SyncInfo, onChange: (updatedSyncInfo: SyncInfo) => void): () => Promise<void>;
export declare function setupSyncServer(sys: DevToolsSys, initialSyncInfo?: SyncInfo): Promise<void>;
export declare function syncCommand(opts: AddCliOptions): Promise<SyncInfo | undefined>;
