export declare function ensureGitignore(projectRoot: string): void;
export interface InitOptions {
    force?: boolean;
    local?: boolean;
    noIndex?: boolean;
    /**
     * Workbench mode (Phase 6 of indusk-worktree-extension). Initializes
     * cwd as a flat single-repo workbench wrapping `wrappedRepo` (which
     * must already exist at `<siblingParent>/<wrappedRepo>/`). Writes
     * worktree.shape="workbench" + worktree.wrapped_repo + worktree.sibling_parent
     * to .indusk/config.json and auto-enables the `worktree` extension
     * (which scaffolds scripts/worktree/, the pnpm scripts, and the
     * starter .indusk/worktree-configs/<repo>.json).
     */
    workbench?: boolean;
    wrappedRepo?: string;
    siblingParent?: string;
}
export declare function writeGitInfoExclude(projectRoot: string): void;
export declare function init(projectRoot: string, options?: InitOptions): Promise<void>;
