/** * ServerMgmtContext * * Provides persistent server-management state: plugin profiles. * * (Daemon control state was removed in Phase 4.1 — the "daemon" the UI * started was a setTimeout simulation; scheduling is now external via * generated cron/systemd/launchd/schtasks entries.) * * @since v2.11.0 */ import { type ReactNode } from 'react'; import type { ApplyProfileResult, CreateProfileOptions, PluginProfile } from '../../../core/profiles/profile-types.js'; export interface ServerMgmtContextValue { profiles: PluginProfile[]; activeProfile: PluginProfile | null; createProfile: (opts: CreateProfileOptions) => void; applyProfile: (profileId: string) => ApplyProfileResult; deleteProfile: (profileId: string) => void; setActiveProfileId: (profileId: string | null) => void; } export declare function ServerMgmtProvider({ children, value }: { children: ReactNode; value: ServerMgmtContextValue; }): React.ReactElement; export declare function useServerMgmtContext(): ServerMgmtContextValue; //# sourceMappingURL=server-mgmt-context.d.ts.map