import type { OpenClawConfig } from "./types.openclaw.js"; export type OwnerDisplaySecretPersistState = { pendingByPath: Map; persistInFlight: Set; persistWarned: Set; }; export declare function persistGeneratedOwnerDisplaySecret(params: { config: OpenClawConfig; configPath: string; generatedSecret?: string; logger: Pick; state: OwnerDisplaySecretPersistState; persistConfig: (config: OpenClawConfig, options: { expectedConfigPath: string; }) => Promise; }): OpenClawConfig;