type ProcessContentActions = { createRequestHandler: (id: string, importPath: string) => void; }; type AfterRoutesCreatedActions = { getRouteByFsPath: (relativePath: string) => { slug?: string; } | undefined; addApiRoute: (route: { slug: string; requestHandlerId: string; httpMethod: string; [key: string]: unknown; getStaticData: () => Promise<{ props: Record; }>; }) => void; loadOpenApiDefinitions: (context: LifecycleContext) => Promise; rawOptions?: { mockServer?: { off?: boolean; }; }; }>>; }; type LifecycleContext = { getConfig: () => Promise<{ mockServer?: Record; theme?: { mockServer?: Record; }; }>; }; type ExternalPlugin = { id: string; processContent?: (actions: ProcessContentActions) => Promise | void; afterRoutesCreated?: (actions: AfterRoutesCreatedActions, context: LifecycleContext) => Promise | void; }; export declare const MOCK_SERVER_REQUEST_HANDLER_ID = "mock-server"; export default function mockServerPlugin(): ExternalPlugin; type Removed = T extends Record ? T extends ArrayLike ? Array> : { [K in Exclude]: Removed; } : T; export declare function removePropertyRecursively(object: TObject, predicate: (key: string) => boolean): Removed; export {};