import { NextRequest } from 'next/server'; type ResolveFullPath = (options: { /** The ID of the composition */ id?: string; /** The slug of the composition */ slug?: string; /** The path of the project map node attached to the composition, if there is one */ path?: string; /** The preview locale selected in Visual Canvas, available only if Localization is set up */ locale?: string; }) => string | undefined; type CreatePreviewGETRouteHandlerOptions = { resolveFullPath?: ResolveFullPath; playgroundPath?: string; }; declare const createPreviewGETRouteHandler: (options?: CreatePreviewGETRouteHandlerOptions) => (request: NextRequest) => Promise; declare const createPreviewOPTIONSRouteHandler: () => () => Promise; declare const createPreviewPOSTRouteHandler: () => (request: NextRequest) => Promise; export { type CreatePreviewGETRouteHandlerOptions, createPreviewGETRouteHandler, createPreviewOPTIONSRouteHandler, createPreviewPOSTRouteHandler };