import { type IGitService } from '@opentask/taskin-git-utils'; export interface SyncConfig { autoSync: boolean; defaultBranch?: string; /** Tag appended to the commits this module writes. Defaults to `[skip ci]`; empty means none. */ ciSkipTag?: string; } export interface PushAfterCreateOptions { taskId: string; title: string; defaultBranch: string; /** Tag appended to the commit. Defaults to `[skip ci]`; empty means none. */ ciSkipTag?: string; } export interface GetNextTaskNumberOptions { autoSync: boolean; localCount: number; remoteCount: number; } export interface SquashTaskFileOnDoneOptions { taskId: string; defaultBranch: string; originBranch?: string; /** Tag appended to the squash commit. Defaults to `[skip ci]`; empty means none. */ ciSkipTag?: string; } export interface CreateTaskWithSyncResult { taskId: string; } export declare function syncBeforeCreate(git: IGitService, config: SyncConfig): Promise; export declare function pushAfterCreate(git: IGitService, options: PushAfterCreateOptions): Promise; export declare function getNextTaskNumberAfterSync(options: GetNextTaskNumberOptions): Promise; export declare function createTaskWithSync(git: IGitService, config: SyncConfig, taskOptions: { title: string; type: string; }): Promise; export declare function squashTaskFileOnDone(git: IGitService, options: SquashTaskFileOnDoneOptions): Promise; //# sourceMappingURL=auto-sync.d.ts.map