#!/usr/bin/env node
import type { GrawkusConfig, Message } from './types.js';
import { type Session } from './sessions.js';
import { type Mode } from './modes.js';
import { type ModelTurnOverride } from './model-aliases.js';
export declare function handleSlashCommand(input: string, config: GrawkusConfig, messages: Message[], session: Session, mode: {
    current: Mode;
}): {
    handled: boolean;
    shouldExit?: boolean;
    newMessages?: Message[];
    injectPrompt?: string;
    turnOverride?: ModelTurnOverride | null;
};
export type NonInteractivePromptResolution = {
    kind: 'query';
    prompt: string;
} | {
    kind: 'handled';
} | {
    kind: 'exit';
} | {
    kind: 'sources';
    input: Record<string, unknown>;
} | {
    kind: 'benchmarkRepos';
    input: Record<string, unknown>;
} | {
    kind: 'repoDigest';
    input: Record<string, unknown>;
} | {
    kind: 'error';
    message: string;
};
export declare function resolveNonInteractivePrompt(promptText: string, config: GrawkusConfig, messages: Message[], session: Session, mode: {
    current: Mode;
}): NonInteractivePromptResolution;
