import { DataBucket, Environment, ProcessedDatabucket, Route, ServerOptions } from '@mockoon/commons'; import { Request } from 'express'; /** * Parse all databuckets in the environment and set their parsed value to true except if they contain request helpers * @param environment */ export declare const generateDatabuckets: (environment: Environment, processedDatabuckets: ProcessedDatabucket[], globalVariables: Record, options: ServerOptions, emitProcessedDatabuckets: () => void) => void; /** * Generate the databuckets that were not parsed at the server start * * @param route * @param environment * @param request */ export declare const generateRequestDatabuckets: (route: Route, environment: Environment, request: Request, processedDatabuckets: ProcessedDatabucket[], globalVariables: Record, options: ServerOptions, emitProcessedDatabuckets: () => void) => void; export declare const regenerateDatabuckets: (previousDataBuckets: DataBucket[], newDataBuckets: DataBucket[], processedDatabuckets: ProcessedDatabucket[], environment: Environment, globalVariables: Record, options: ServerOptions, emitProcessedDatabuckets: () => void) => void;