/**
 * `dql app` — manage Apps (consumption-layer artifacts).
 *
 * Apps live at `apps/<id>/dql.app.json` or
 * `domains/<domain>/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>] [--ai-layout]
 *   dql app ls [path]
 *   dql app show <id> [path]
 *   dql app build [path]
 *   dql app reindex [path]
 */
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