import { t as CapabilityFactory } from "../core-CSZf27yz.js";

//#region ../app/capabilities/notify/types.d.ts
interface Notification {
  id: string;
  source: string;
  kind: 'info' | 'error' | 'question';
  title: string;
  body: string;
  threadId?: string;
  route?: Route;
}
type Route = {
  kind: 'chat';
} | {
  kind: 'app';
  id: string;
} | {
  kind: 'settings';
  pane?: string;
};
type Channel = (notification: Notification) => void;
//#endregion
//#region ../app/capabilities/notify/index.d.ts
type NotifyInput = Omit<Notification, 'source'>;
interface NotifyCapability {
  notify(input: NotifyInput): void;
}
declare const notify: CapabilityFactory<"notify", NotifyCapability, Record<never, never>>;
//#endregion
export { type Channel, type Notification, NotifyCapability, NotifyInput, type Route, notify };
//# sourceMappingURL=notify.d.ts.map