import { type BootstrapMode } from "../../agents/bootstrap-mode.js"; import type { OpenClawConfig } from "../../config/types.openclaw.js"; export declare function resolveBareResetBootstrapFileAccess(params: { cfg?: OpenClawConfig; agentId?: string; sessionKey?: string; workspaceDir?: string; modelProvider?: string; modelId?: string; }): boolean; export declare function resolveBareSessionResetPromptState(params: { cfg?: OpenClawConfig; workspaceDir?: string; nowMs?: number; isPrimaryRun?: boolean; isCanonicalWorkspace?: boolean; hasBootstrapFileAccess?: boolean | (() => boolean); }): Promise<{ bootstrapMode: BootstrapMode; prompt: string; shouldPrependStartupContext: boolean; }>; /** * Build the bare session reset prompt, appending the current date/time so agents * know which daily memory files to read during their Session Startup sequence. * Without this, agents on /new or /reset guess the date from their training cutoff. */ export declare function buildBareSessionResetPrompt(cfg?: OpenClawConfig, nowMs?: number, bootstrapMode?: BootstrapMode): string; /** @deprecated Use buildBareSessionResetPrompt(cfg) instead */ export declare const BARE_SESSION_RESET_PROMPT = "A new session was started via /new or /reset. Execute your Session Startup sequence now - read the required files before responding to the user. If BOOTSTRAP.md exists in the provided Project Context, read it and follow its instructions first. Then greet the user in your configured persona, if one is provided. Be yourself - use your defined voice, mannerisms, and mood. Keep it to 1-3 sentences and ask what they want to do. If the runtime model differs from default_model in the system prompt, mention the default model. Do not mention internal steps, files, tools, or reasoning.";