import { type State } from '../schemas/index.js'; /** * Reset the foundation root cache. Used by integration tests that create * temporary foundations so that `findFoundationRoot` re-scans the directory tree. */ export declare function resetFoundationCache(): void; /** * Explicitly set the foundation root path. * Used by the Expo app where there's no cwd-based discovery. */ export declare function setFoundationRoot(path: string): void; /** @deprecated Use resetFoundationCache() */ export declare const resetVaultCache: typeof resetFoundationCache; /** * Finds the Foundation root by looking for .phaibel.md (v5) or .vault.md (v4 fallback) * in cwd or parent directories. Also checks the PHAIBEL_VAULT env var. * Returns null if no foundation is found. */ export declare function findFoundationRoot(): Promise; /** @deprecated Use findFoundationRoot() */ export declare const findVaultRoot: typeof findFoundationRoot; /** * Gets the Foundation root, throwing an error if not in a foundation. */ export declare function getFoundationRoot(): Promise; /** @deprecated Use getFoundationRoot() */ export declare const getVaultRoot: typeof getFoundationRoot; /** * Checks if the current directory is inside a valid foundation. */ export declare function isInFoundation(): Promise; /** @deprecated Use isInFoundation() */ export declare const isInVault: typeof isInFoundation; export declare function loadState(): Promise; export declare function saveState(state: State): Promise; /** * Gets the user's name from state, falling back to OS username. */ export declare function getUserName(): Promise; /** * Sets the user's name in state. */ export declare function setUserName(name: string): Promise; /** * Gets the agent name from state, falling back to 'Agent'. */ export declare function getAgentName(): Promise; /** * Gets the personality ID from state, falling back to 'butler'. */ export declare function getPersonalityId(): Promise; /** * Gets a random honorific from the user's gender pool, based on personality. * For 'executive' personality (empty honorific pool), returns the user's name. */ export declare function getUserHonorific(): Promise; /** * Gets the user's gender from state. */ export declare function getUserGender(): Promise; /** * Sets the user's gender in state. */ export declare function setUserGender(gender: 'male' | 'female' | 'other'): Promise; /** * Whether the onboarding interview has been completed. */ export declare function isInterviewComplete(): Promise; /** * Save the full user profile from the onboarding interview. */ export declare function saveProfile(profile: { userName: string; agentName?: string; personality?: 'butler' | 'rockstar' | 'executive' | 'friend' | 'pip' | 'emm'; honorific?: string; gender?: 'male' | 'female' | 'other'; workType?: string; familySituation?: string; hasCar?: boolean; cityLive?: string; cityWork?: string; personalCalUrl?: string; workCalUrl?: string; }): Promise; //# sourceMappingURL=manager.d.ts.map