import { I as InstalledApp } from './app-registry-DtUAlxkN.js';
import '@agentproto/app';
/**
* `agentproto app install
` with no daemon up. Runs the daemon's own
* `performInstall` against a registry persisted at the same `apps.json`, so
* the record written is the full one `app_install {dir}` writes — never a
* bare `{appId, dir, dataDir}` that a later daemon would choke on.
*/
declare const defaultAppsJsonPath: () => string;
declare function installAppDirOffline(dir: string, opts?: {
dataDir?: string;
persistPath?: string;
repoint?: boolean;
}): Promise<{
ok: true;
record: InstalledApp;
} | {
ok: false;
error: string;
}>;
export { defaultAppsJsonPath, installAppDirOffline };