///
import { ServerRequest } from 'microrouter';
import { Context } from '..';
import { Operation } from '../normalizers';
import { RawOperation } from '../utils/operationParser';
import type { CacheControlStrategy } from '../utils/sender';
export interface PipelineResult {
data: Buffer;
format?: string;
cacheStrategy?: CacheControlStrategy;
}
export type Pipeline = (opt: {
url: string;
rawOperations: Array;
req: ServerRequest;
}) => Promise;
/**
* Returns the strict-est cache strategy
*/
export declare const strictestCacheStrategy: (operations: Operation[]) => CacheControlStrategy;
declare const pipelineCreator: (context: Context) => Pipeline;
export default pipelineCreator;