/**
 * `dql app` — manage Apps (consumption-layer artifacts).
 *
 * Apps live at `apps/<id>/dql.app.json` and bundle dashboards/notebooks plus
 * declarative members, roles, policies, RLS bindings, and schedules. They're
 * compiled into the `apps[]` and `dashboards[]` records of `dql-manifest.json`
 * and read by both the desktop UI and the CLI.
 *
 * Subcommands:
 *   dql app new <id> --domain <domain> [--owner <user>]
 *   dql app generate "<prompt>" [--domain <domain>] [--owner <user>]
 *   dql app ls
 *   dql app show <id>
 *   dql app build [--app <id>]
 *   dql app reindex [--app <id>]   (no-op until the agent KG package lands; aliased)
 */
import { type ManifestApp } from "@duckcodeailabs/dql-core";
import type { CLIFlags } from "../args.js";
export declare function runApp(sub: string | null, rest: string[], flags: CLIFlags): Promise<void>;
interface ResolvedApp extends Omit<ManifestApp, "dashboards"> {
    dashboards: Array<{
        id: string;
        title: string;
    }>;
}
declare function collectApps(projectRoot: string): ResolvedApp[];
declare function humanise(id: string): string;
export declare const __test__: {
    collectApps: typeof collectApps;
    humanise: typeof humanise;
};
export {};
//# sourceMappingURL=app.d.ts.map