export type ExecutionResult<T> = {
    type: "success" | "error" | "unauthorized";
    summary?: string;
    details?: string;
    rawDetails?: string;
    response: Response;
    data?: T;
};
export declare const SESSION_REVOKED_HEADER = "X-Parhelia-Session-Revoked";
export declare function post<T>(url: string, body: any, session?: string, signal?: AbortSignal): Promise<ExecutionResult<T>>;
export declare function get<T>(url: string, session?: string, signal?: AbortSignal): Promise<ExecutionResult<T>>;
