import type { SKYKOIConfig } from "../../config/config.js";
import type { FinalizedMsgContext } from "../templating.js";
export declare function isAbortTrigger(text?: string): boolean;
export declare function getAbortMemory(key: string): boolean | undefined;
export declare function setAbortMemory(key: string, value: boolean): void;
export declare function formatAbortReplyText(stoppedSubkois?: number): string;
export declare function stopSubkoisForRequester(params: {
    cfg: SKYKOIConfig;
    requesterSessionKey?: string;
}): {
    stopped: number;
};
export declare function tryFastAbortFromMessage(params: {
    ctx: FinalizedMsgContext;
    cfg: SKYKOIConfig;
}): Promise<{
    handled: boolean;
    aborted: boolean;
    stoppedSubkois?: number;
}>;
