/**
 * Sharing module for multi-contributor .cleo/ state management.
 *
 * Controls which .cleo/ files are committed to the project git repo
 * via a config-driven allowlist. Provides status reporting and
 * .gitignore auto-management.
 *
 * @task T4883
 */
/** Result of a sharing status check. */
export interface SharingStatus {
    mode: string;
    allowlist: string[];
    denylist: string[];
    tracked: string[];
    ignored: string[];
}
/**
 * Match a file path against a glob-like pattern.
 * Supports: '*' (single segment wildcard), '**' (recursive wildcard),
 * and trailing '/' for directory matching.
 * @task T4883
 */
export declare function matchesPattern(filePath: string, pattern: string): boolean;
/**
 * Get the sharing status: which .cleo/ files are tracked vs ignored.
 * @task T4883
 */
export declare function getSharingStatus(cwd?: string): Promise<SharingStatus>;
/**
 * Sync the project .gitignore to match the sharing config.
 * Adds/updates a managed section between CLEO markers.
 * @task T4883
 */
export declare function syncGitignore(cwd?: string): Promise<{
    updated: boolean;
    entriesCount: number;
}>;
//# sourceMappingURL=index.d.ts.map