import { type SetupFileKind, type SetupFileResponse, type SetupStatusResponse, type SetupWriteRtwsLlmYamlResponse, type SetupWriteShellEnvResponse, type SetupWriteTeamYamlResponse } from '@longrun-ai/kernel/types/setup';
export declare function buildSetupStatusResponse(): Promise<SetupStatusResponse>;
export declare function buildSetupFileResponse(kind: SetupFileKind): Promise<SetupFileResponse>;
export declare function handleWriteShellEnv(rawBody: string): Promise<{
    kind: 'ok';
    response: SetupWriteShellEnvResponse;
} | {
    kind: 'bad_request';
    errorText: string;
} | {
    kind: 'error';
    errorText: string;
}>;
export declare function handleWriteTeamYaml(rawBody: string): Promise<{
    kind: 'ok';
    response: SetupWriteTeamYamlResponse;
} | {
    kind: 'conflict';
    errorText: string;
    path: string;
} | {
    kind: 'bad_request';
    errorText: string;
    path: string;
} | {
    kind: 'error';
    errorText: string;
    path: string;
}>;
export declare function handleWriteRtwsLlmYaml(rawBody: string): Promise<{
    kind: 'ok';
    response: SetupWriteRtwsLlmYamlResponse;
} | {
    kind: 'conflict';
    errorText: string;
    path: string;
} | {
    kind: 'bad_request';
    errorText: string;
    path: string;
} | {
    kind: 'error';
    errorText: string;
    path: string;
}>;
