import type { EndpointInterface, ResolveType } from '@data-client/normalizr';
import type { SetResponseAction } from '../../types.js';
import { EndpointUpdateFunction } from '../types.js';
export declare function createSetResponse<E extends EndpointInterface & {
    update?: EndpointUpdateFunction<E>;
}>(endpoint: E, options: {
    args: readonly [...Parameters<E>];
    response: Error;
    fetchedAt?: number;
    error: true;
}): SetResponseAction<E>;
export declare function createSetResponse<E extends EndpointInterface & {
    update?: EndpointUpdateFunction<E>;
}>(endpoint: E, options: {
    args: readonly [...Parameters<E>];
    response: ResolveType<E>;
    fetchedAt?: number;
    error?: false;
}): SetResponseAction<E>;
//# sourceMappingURL=createSetResponse.d.ts.map