import { RuntimeConfig } from "./types.cjs";
import { z } from "./sdk.cjs";
import { AppOrchestrator, ServiceDescriptor } from "./service-descriptor.cjs";
import * as _$_orpc_contract0 from "@orpc/contract";
import * as _$every_plugin0 from "every-plugin";
import { EventEmitter } from "node:events";

//#region src/plugin.d.ts
interface DevSessionData {
  orchestrator: AppOrchestrator;
  services: Map<string, ServiceDescriptor>;
  runtimeConfig: RuntimeConfig;
}
interface StartSummary {
  configSource: string;
  configSourceHttp?: string;
  account: string;
  domain?: string;
  modules: {
    host?: string;
    ui?: string;
    api?: string;
    auth?: string;
  };
  warnings: string[];
}
type ProgressEvent = {
  phase: string;
  status: "running" | "done" | "error";
  durationMs?: number;
  message?: string;
};
declare const pluginEvents: EventEmitter<[never]>;
declare function consumeDevSession(): (DevSessionData & {
  summary?: StartSummary;
}) | null;
declare const _default: _$every_plugin0.LoadedPluginWithBinding<{
  dev: _$_orpc_contract0.ContractProcedure<z.ZodObject<{
    host: z.ZodDefault<z.ZodEnum<{
      local: "local";
      remote: "remote";
    }>>;
    ui: z.ZodDefault<z.ZodEnum<{
      local: "local";
      remote: "remote";
    }>>;
    api: z.ZodDefault<z.ZodEnum<{
      local: "local";
      remote: "remote";
    }>>;
    auth: z.ZodDefault<z.ZodEnum<{
      local: "local";
      remote: "remote";
    }>>;
    proxy: z.ZodDefault<z.ZodBoolean>;
    ssr: z.ZodDefault<z.ZodBoolean>;
    port: z.ZodOptional<z.ZodNumber>;
    interactive: z.ZodOptional<z.ZodBoolean>;
  }, z.core.$strip>, z.ZodObject<{
    status: z.ZodEnum<{
      started: "started";
      error: "error";
    }>;
    description: z.ZodString;
    processes: z.ZodArray<z.ZodString>;
  }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
  start: _$_orpc_contract0.ContractProcedure<z.ZodObject<{
    port: z.ZodOptional<z.ZodNumber>;
    interactive: z.ZodOptional<z.ZodBoolean>;
    account: z.ZodOptional<z.ZodString>;
    domain: z.ZodOptional<z.ZodString>;
    env: z.ZodDefault<z.ZodEnum<{
      production: "production";
      staging: "staging";
    }>>;
  }, z.core.$strip>, z.ZodObject<{
    status: z.ZodEnum<{
      error: "error";
      running: "running";
    }>;
    url: z.ZodString;
    error: z.ZodOptional<z.ZodString>;
  }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
  build: _$_orpc_contract0.ContractProcedure<z.ZodObject<{
    packages: z.ZodDefault<z.ZodString>;
    force: z.ZodDefault<z.ZodBoolean>;
    deploy: z.ZodDefault<z.ZodBoolean>;
  }, z.core.$strip>, z.ZodObject<{
    status: z.ZodEnum<{
      success: "success";
      error: "error";
    }>;
    built: z.ZodArray<z.ZodString>;
    skipped: z.ZodOptional<z.ZodArray<z.ZodString>>;
    deployed: z.ZodOptional<z.ZodBoolean>;
  }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
  config: _$_orpc_contract0.ContractProcedure<_$_orpc_contract0.Schema<unknown, unknown>, z.ZodObject<{
    config: z.ZodNullable<z.ZodObject<{
      account: z.ZodString;
      extends: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
        development: z.ZodOptional<z.ZodString>;
        production: z.ZodOptional<z.ZodString>;
        staging: z.ZodOptional<z.ZodString>;
      }, z.core.$strip>]>>;
      domain: z.ZodOptional<z.ZodString>;
      title: z.ZodOptional<z.ZodString>;
      description: z.ZodOptional<z.ZodString>;
      testnet: z.ZodOptional<z.ZodString>;
      staging: z.ZodOptional<z.ZodObject<{
        domain: z.ZodString;
      }, z.core.$strip>>;
      repository: z.ZodOptional<z.ZodString>;
      shared: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
        version: z.ZodString;
        requiredVersion: z.ZodOptional<z.ZodString>;
        singleton: z.ZodOptional<z.ZodBoolean>;
        eager: z.ZodOptional<z.ZodBoolean>;
        strictVersion: z.ZodOptional<z.ZodBoolean>;
        shareScope: z.ZodOptional<z.ZodString>;
      }, z.core.$strip>>>>;
      plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
        extends: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
          development: z.ZodOptional<z.ZodString>;
          production: z.ZodOptional<z.ZodString>;
          staging: z.ZodOptional<z.ZodString>;
        }, z.core.$strip>]>>;
        name: z.ZodOptional<z.ZodString>;
        development: z.ZodOptional<z.ZodString>;
        production: z.ZodOptional<z.ZodString>;
        integrity: z.ZodOptional<z.ZodString>;
        proxy: z.ZodOptional<z.ZodString>;
        variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
        secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
        sidebar: z.ZodOptional<z.ZodArray<z.ZodObject<{
          icon: z.ZodString;
          label: z.ZodString;
          to: z.ZodOptional<z.ZodString>;
          roleRequired: z.ZodOptional<z.ZodEnum<{
            anon: "anon";
            member: "member";
            admin: "admin";
          }>>;
        }, z.core.$strip>>>;
        routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
        version: z.ZodOptional<z.ZodString>;
        app: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        shared: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
          version: z.ZodString;
          requiredVersion: z.ZodOptional<z.ZodString>;
          singleton: z.ZodOptional<z.ZodBoolean>;
          eager: z.ZodOptional<z.ZodBoolean>;
          strictVersion: z.ZodOptional<z.ZodBoolean>;
          shareScope: z.ZodOptional<z.ZodString>;
        }, z.core.$strip>>>>;
        plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
      }, z.core.$strip>]>>>;
      app: z.ZodObject<{
        host: z.ZodObject<{
          development: z.ZodString;
          production: z.ZodString;
          integrity: z.ZodOptional<z.ZodString>;
          secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
        }, z.core.$strip>;
        ui: z.ZodObject<{
          name: z.ZodString;
          development: z.ZodOptional<z.ZodString>;
          production: z.ZodOptional<z.ZodString>;
          integrity: z.ZodOptional<z.ZodString>;
          ssr: z.ZodOptional<z.ZodString>;
          ssrIntegrity: z.ZodOptional<z.ZodString>;
        }, z.core.$strip>;
        api: z.ZodObject<{
          extends: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
            development: z.ZodOptional<z.ZodString>;
            production: z.ZodOptional<z.ZodString>;
            staging: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>]>>;
          name: z.ZodOptional<z.ZodString>;
          development: z.ZodOptional<z.ZodString>;
          production: z.ZodOptional<z.ZodString>;
          integrity: z.ZodOptional<z.ZodString>;
          proxy: z.ZodOptional<z.ZodString>;
          variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
          secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
          sidebar: z.ZodOptional<z.ZodArray<z.ZodObject<{
            icon: z.ZodString;
            label: z.ZodString;
            to: z.ZodOptional<z.ZodString>;
            roleRequired: z.ZodOptional<z.ZodEnum<{
              anon: "anon";
              member: "member";
              admin: "admin";
            }>>;
          }, z.core.$strip>>>;
          routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
        }, z.core.$strip>;
        auth: z.ZodOptional<z.ZodObject<{
          extends: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
            development: z.ZodOptional<z.ZodString>;
            production: z.ZodOptional<z.ZodString>;
            staging: z.ZodOptional<z.ZodString>;
          }, z.core.$strip>]>>;
          name: z.ZodOptional<z.ZodString>;
          development: z.ZodOptional<z.ZodString>;
          production: z.ZodOptional<z.ZodString>;
          integrity: z.ZodOptional<z.ZodString>;
          proxy: z.ZodOptional<z.ZodString>;
          variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
          secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
          sidebar: z.ZodOptional<z.ZodArray<z.ZodObject<{
            icon: z.ZodString;
            label: z.ZodString;
            to: z.ZodOptional<z.ZodString>;
            roleRequired: z.ZodOptional<z.ZodEnum<{
              anon: "anon";
              member: "member";
              admin: "admin";
            }>>;
          }, z.core.$strip>>>;
          routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
        }, z.core.$strip>>;
      }, z.core.$strip>;
    }, z.core.$strip>>;
    packages: z.ZodArray<z.ZodString>;
    remotes: z.ZodArray<z.ZodString>;
  }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
  pluginAdd: _$_orpc_contract0.ContractProcedure<z.ZodObject<{
    source: z.ZodString;
    as: z.ZodOptional<z.ZodString>;
    production: z.ZodOptional<z.ZodString>;
  }, z.core.$strip>, z.ZodObject<{
    status: z.ZodEnum<{
      error: "error";
      added: "added";
    }>;
    key: z.ZodString;
    development: z.ZodOptional<z.ZodString>;
    production: z.ZodOptional<z.ZodString>;
    integrity: z.ZodOptional<z.ZodString>;
    version: z.ZodOptional<z.ZodString>;
    error: z.ZodOptional<z.ZodString>;
  }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
  pluginRemove: _$_orpc_contract0.ContractProcedure<z.ZodObject<{
    key: z.ZodString;
  }, z.core.$strip>, z.ZodObject<{
    status: z.ZodEnum<{
      error: "error";
      removed: "removed";
    }>;
    key: z.ZodString;
    error: z.ZodOptional<z.ZodString>;
  }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
  pluginList: _$_orpc_contract0.ContractProcedure<_$_orpc_contract0.Schema<unknown, unknown>, z.ZodObject<{
    status: z.ZodEnum<{
      error: "error";
      listed: "listed";
    }>;
    plugins: z.ZodArray<z.ZodObject<{
      key: z.ZodString;
      development: z.ZodOptional<z.ZodString>;
      production: z.ZodOptional<z.ZodString>;
      localPath: z.ZodOptional<z.ZodString>;
      source: z.ZodEnum<{
        local: "local";
        remote: "remote";
      }>;
      integrity: z.ZodOptional<z.ZodString>;
      version: z.ZodOptional<z.ZodString>;
      name: z.ZodOptional<z.ZodString>;
    }, z.core.$strip>>;
    error: z.ZodOptional<z.ZodString>;
  }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
  pluginPublish: _$_orpc_contract0.ContractProcedure<z.ZodObject<{
    key: z.ZodString;
  }, z.core.$strip>, z.ZodObject<{
    status: z.ZodEnum<{
      error: "error";
      published: "published";
    }>;
    key: z.ZodString;
    path: z.ZodOptional<z.ZodString>;
    script: z.ZodOptional<z.ZodString>;
    production: z.ZodOptional<z.ZodString>;
    integrity: z.ZodOptional<z.ZodString>;
    version: z.ZodOptional<z.ZodString>;
    error: z.ZodOptional<z.ZodString>;
  }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
  publish: _$_orpc_contract0.ContractProcedure<z.ZodObject<{
    deploy: z.ZodDefault<z.ZodBoolean>;
    dryRun: z.ZodDefault<z.ZodBoolean>;
    packages: z.ZodDefault<z.ZodString>;
    network: z.ZodOptional<z.ZodEnum<{
      testnet: "testnet";
      mainnet: "mainnet";
    }>>;
    privateKey: z.ZodOptional<z.ZodString>;
  }, z.core.$strip>, z.ZodObject<{
    status: z.ZodEnum<{
      error: "error";
      published: "published";
      "dry-run": "dry-run";
    }>;
    registryUrl: z.ZodString;
    txHash: z.ZodOptional<z.ZodString>;
    error: z.ZodOptional<z.ZodString>;
    built: z.ZodOptional<z.ZodArray<z.ZodString>>;
    skipped: z.ZodOptional<z.ZodArray<z.ZodString>>;
  }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
  keyPublish: _$_orpc_contract0.ContractProcedure<z.ZodObject<{
    allowance: z.ZodDefault<z.ZodString>;
  }, z.core.$strip>, z.ZodObject<{
    status: z.ZodEnum<{
      error: "error";
      published: "published";
    }>;
    account: z.ZodString;
    network: z.ZodEnum<{
      testnet: "testnet";
      mainnet: "mainnet";
    }>;
    contract: z.ZodString;
    allowance: z.ZodString;
    functionNames: z.ZodArray<z.ZodString>;
    publicKey: z.ZodOptional<z.ZodString>;
    privateKey: z.ZodOptional<z.ZodString>;
    error: z.ZodOptional<z.ZodString>;
  }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
  init: _$_orpc_contract0.ContractProcedure<z.ZodObject<{
    extends: z.ZodOptional<z.ZodString>;
    directory: z.ZodOptional<z.ZodString>;
    account: z.ZodOptional<z.ZodString>;
    domain: z.ZodOptional<z.ZodString>;
    source: z.ZodOptional<z.ZodString>;
    plugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
    overrides: z.ZodOptional<z.ZodArray<z.ZodEnum<{
      plugins: "plugins";
      ui: "ui";
      host: "host";
      api: "api";
    }>>>;
    noInteractive: z.ZodDefault<z.ZodBoolean>;
    noInstall: z.ZodDefault<z.ZodBoolean>;
  }, z.core.$strip>, z.ZodObject<{
    status: z.ZodEnum<{
      error: "error";
      initialized: "initialized";
    }>;
    directory: z.ZodString;
    extendsRef: z.ZodString;
    account: z.ZodOptional<z.ZodString>;
    domain: z.ZodOptional<z.ZodString>;
    extends: z.ZodString;
    plugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
    overrides: z.ZodOptional<z.ZodArray<z.ZodEnum<{
      plugins: "plugins";
      ui: "ui";
      host: "host";
      api: "api";
    }>>>;
    filesCopied: z.ZodNumber;
    timings: z.ZodOptional<z.ZodArray<z.ZodObject<{
      name: z.ZodString;
      durationMs: z.ZodNumber;
    }, z.core.$strip>>>;
    targetDir: z.ZodOptional<z.ZodString>;
    error: z.ZodOptional<z.ZodString>;
  }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
  sync: _$_orpc_contract0.ContractProcedure<z.ZodObject<{
    dryRun: z.ZodDefault<z.ZodBoolean>;
    force: z.ZodDefault<z.ZodBoolean>;
    noInstall: z.ZodDefault<z.ZodBoolean>;
  }, z.core.$strip>, z.ZodObject<{
    status: z.ZodEnum<{
      error: "error";
      "dry-run": "dry-run";
      synced: "synced";
    }>;
    updated: z.ZodArray<z.ZodString>;
    skipped: z.ZodArray<z.ZodString>;
    added: z.ZodArray<z.ZodString>;
    error: z.ZodOptional<z.ZodString>;
  }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
  upgrade: _$_orpc_contract0.ContractProcedure<z.ZodObject<{
    dryRun: z.ZodDefault<z.ZodBoolean>;
    force: z.ZodDefault<z.ZodBoolean>;
    noInstall: z.ZodDefault<z.ZodBoolean>;
    noSync: z.ZodDefault<z.ZodBoolean>;
  }, z.core.$strip>, z.ZodObject<{
    status: z.ZodEnum<{
      error: "error";
      "dry-run": "dry-run";
      upgraded: "upgraded";
    }>;
    packages: z.ZodArray<z.ZodObject<{
      name: z.ZodString;
      from: z.ZodOptional<z.ZodString>;
      to: z.ZodString;
    }, z.core.$strip>>;
    sync: z.ZodOptional<z.ZodObject<{
      status: z.ZodEnum<{
        error: "error";
        "dry-run": "dry-run";
        synced: "synced";
      }>;
      updated: z.ZodArray<z.ZodString>;
      skipped: z.ZodArray<z.ZodString>;
      added: z.ZodArray<z.ZodString>;
      error: z.ZodOptional<z.ZodString>;
    }, z.core.$strip>>;
    migrated: z.ZodOptional<z.ZodArray<z.ZodString>>;
    availablePlugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
    selectedPlugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
    timings: z.ZodOptional<z.ZodArray<z.ZodObject<{
      name: z.ZodString;
      durationMs: z.ZodNumber;
    }, z.core.$strip>>>;
    changelogUrl: z.ZodOptional<z.ZodString>;
    error: z.ZodOptional<z.ZodString>;
  }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
  status: _$_orpc_contract0.ContractProcedure<_$_orpc_contract0.Schema<unknown, unknown>, z.ZodObject<{
    status: z.ZodEnum<{
      error: "error";
      ok: "ok";
    }>;
    extends: z.ZodOptional<z.ZodString>;
    account: z.ZodOptional<z.ZodString>;
    domain: z.ZodOptional<z.ZodString>;
    packages: z.ZodArray<z.ZodObject<{
      name: z.ZodString;
      installed: z.ZodOptional<z.ZodString>;
      latest: z.ZodOptional<z.ZodString>;
    }, z.core.$strip>>;
    lastSync: z.ZodOptional<z.ZodString>;
    envFile: z.ZodEnum<{
      found: "found";
      missing: "missing";
      "example-only": "example-only";
    }>;
    parentReachable: z.ZodOptional<z.ZodBoolean>;
    error: z.ZodOptional<z.ZodString>;
  }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
  typesGen: _$_orpc_contract0.ContractProcedure<z.ZodObject<{
    env: z.ZodOptional<z.ZodEnum<{
      development: "development";
      production: "production";
    }>>;
    dryRun: z.ZodDefault<z.ZodBoolean>;
  }, z.core.$strip>, z.ZodObject<{
    status: z.ZodEnum<{
      success: "success";
      error: "error";
    }>;
    generated: z.ZodArray<z.ZodString>;
    fetched: z.ZodArray<z.ZodString>;
    skipped: z.ZodArray<z.ZodString>;
    failed: z.ZodArray<z.ZodString>;
    source: z.ZodOptional<z.ZodEnum<{
      local: "local";
      remote: "remote";
    }>>;
    error: z.ZodOptional<z.ZodString>;
  }, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
}, z.ZodObject<{
  configPath: z.ZodOptional<z.ZodString>;
}, z.core.$strip>, z.ZodObject<{}, z.core.$strip>, undefined, {
  bosConfig: {
    account: string;
    app: {
      host: {
        development: string;
        production: string;
        integrity?: string | undefined;
        secrets?: string[] | undefined;
      };
      ui: {
        name: string;
        development?: string | undefined;
        production?: string | undefined;
        integrity?: string | undefined;
        ssr?: string | undefined;
        ssrIntegrity?: string | undefined;
      };
      api: {
        extends?: string | {
          development?: string | undefined;
          production?: string | undefined;
          staging?: string | undefined;
        } | undefined;
        name?: string | undefined;
        development?: string | undefined;
        production?: string | undefined;
        integrity?: string | undefined;
        proxy?: string | undefined;
        variables?: Record<string, string> | undefined;
        secrets?: string[] | undefined;
        sidebar?: {
          icon: string;
          label: string;
          to?: string | undefined;
          roleRequired?: "anon" | "member" | "admin" | undefined;
        }[] | undefined;
        routes?: string[] | undefined;
      };
      auth?: {
        extends?: string | {
          development?: string | undefined;
          production?: string | undefined;
          staging?: string | undefined;
        } | undefined;
        name?: string | undefined;
        development?: string | undefined;
        production?: string | undefined;
        integrity?: string | undefined;
        proxy?: string | undefined;
        variables?: Record<string, string> | undefined;
        secrets?: string[] | undefined;
        sidebar?: {
          icon: string;
          label: string;
          to?: string | undefined;
          roleRequired?: "anon" | "member" | "admin" | undefined;
        }[] | undefined;
        routes?: string[] | undefined;
      } | undefined;
    };
    extends?: string | {
      development?: string | undefined;
      production?: string | undefined;
      staging?: string | undefined;
    } | undefined;
    domain?: string | undefined;
    title?: string | undefined;
    description?: string | undefined;
    testnet?: string | undefined;
    staging?: {
      domain: string;
    } | undefined;
    repository?: string | undefined;
    shared?: Record<string, Record<string, {
      version: string;
      requiredVersion?: string | undefined;
      singleton?: boolean | undefined;
      eager?: boolean | undefined;
      strictVersion?: boolean | undefined;
      shareScope?: string | undefined;
    }>> | undefined;
    plugins?: Record<string, string | {
      extends?: string | {
        development?: string | undefined;
        production?: string | undefined;
        staging?: string | undefined;
      } | undefined;
      name?: string | undefined;
      development?: string | undefined;
      production?: string | undefined;
      integrity?: string | undefined;
      proxy?: string | undefined;
      variables?: Record<string, string> | undefined;
      secrets?: string[] | undefined;
      sidebar?: {
        icon: string;
        label: string;
        to?: string | undefined;
        roleRequired?: "anon" | "member" | "admin" | undefined;
      }[] | undefined;
      routes?: string[] | undefined;
      version?: string | undefined;
      app?: Record<string, unknown> | undefined;
      shared?: Record<string, Record<string, {
        version: string;
        requiredVersion?: string | undefined;
        singleton?: boolean | undefined;
        eager?: boolean | undefined;
        strictVersion?: boolean | undefined;
        shareScope?: string | undefined;
      }>> | undefined;
      plugins?: Record<string, unknown> | undefined;
    }> | undefined;
  } | null;
  runtimeConfig: {
    env: "development" | "production" | "staging";
    account: string;
    networkId: "testnet" | "mainnet";
    host: {
      name: string;
      url: string;
      entry: string;
      source: "local" | "remote";
      integrity?: string | undefined;
      localPath?: string | undefined;
      port?: number | undefined;
      secrets?: string[] | undefined;
      remoteUrl?: string | undefined;
    };
    ui: {
      name: string;
      url: string;
      entry: string;
      source: "local" | "remote";
      integrity?: string | undefined;
      localPath?: string | undefined;
      port?: number | undefined;
      ssrUrl?: string | undefined;
      ssrIntegrity?: string | undefined;
    };
    api: {
      name: string;
      url: string;
      entry: string;
      source: "local" | "remote";
      integrity?: string | undefined;
      localPath?: string | undefined;
      port?: number | undefined;
      proxy?: string | undefined;
      variables?: Record<string, string> | undefined;
      secrets?: string[] | undefined;
    };
    domain?: string | undefined;
    title?: string | undefined;
    description?: string | undefined;
    repository?: string | undefined;
    shared?: {
      ui?: Record<string, {
        version: string;
        requiredVersion?: string | undefined;
        singleton?: boolean | undefined;
        eager?: boolean | undefined;
        strictVersion?: boolean | undefined;
        shareScope?: string | undefined;
      }> | undefined;
      plugins?: Record<string, {
        version: string;
        requiredVersion?: string | undefined;
        singleton?: boolean | undefined;
        eager?: boolean | undefined;
        strictVersion?: boolean | undefined;
        shareScope?: string | undefined;
      }> | undefined;
    } | undefined;
    auth?: {
      name: string;
      url: string;
      entry: string;
      source: "local" | "remote";
      integrity?: string | undefined;
      localPath?: string | undefined;
      port?: number | undefined;
      proxy?: string | undefined;
      variables?: Record<string, string> | undefined;
      secrets?: string[] | undefined;
      sidebar?: {
        icon: string;
        label: string;
        to?: string | undefined;
        roleRequired?: "anon" | "member" | "admin" | undefined;
      }[] | undefined;
    } | undefined;
    plugins?: Record<string, {
      name: string;
      url: string;
      entry: string;
      source: "local" | "remote";
      localPath?: string | undefined;
      port?: number | undefined;
      proxy?: string | undefined;
      variables?: Record<string, string> | undefined;
      secrets?: string[] | undefined;
      integrity?: string | undefined;
      ui?: {
        name: string;
        url: string;
        entry: string;
        source: "local" | "remote";
        localPath?: string | undefined;
        port?: number | undefined;
        integrity?: string | undefined;
      } | undefined;
      sidebar?: {
        icon: string;
        label: string;
        to?: string | undefined;
        roleRequired?: "anon" | "member" | "admin" | undefined;
      }[] | undefined;
      routes?: string[] | undefined;
    }> | undefined;
  } | null;
  configDir: string;
}>;
//#endregion
export { DevSessionData, ProgressEvent, StartSummary, consumeDevSession, _default as default, pluginEvents };
//# sourceMappingURL=plugin.d.cts.map