export interface HyperscriptRuntime {
    resolve(expression: unknown, context: unknown): Promise<unknown>;
}
export interface FetchOptions {
    method?: string;
    body?: BodyInit | null;
    headers?: HeadersInit;
}
export interface ParsedFetchCommand {
    options?: {
        method?: unknown;
        body?: unknown;
        headers?: unknown;
    };
}
export interface FixiConfig {
    url: string;
    method: string;
    body: BodyInit | null | undefined;
    headers: HeadersInit;
    target: Element;
    swap: string;
    trigger: Event;
    response: Response | null;
    text: string | null;
}
export declare function executeHTTPRequest(url: string, options?: Partial<FetchOptions>): Promise<{
    response: Response;
    text: string;
}>;
export declare function resolveExpression(expression: unknown, runtime: HyperscriptRuntime, context: unknown): Promise<unknown>;
export declare function buildFetchOptions(command: ParsedFetchCommand, runtime: HyperscriptRuntime, context: unknown): Promise<Partial<FetchOptions>>;
export declare function createFixiConfig(url: string, options: Partial<FetchOptions>, element: Element, event: Event, target?: Element | null, swap?: string): FixiConfig;
//# sourceMappingURL=executor.d.ts.map