import { type RestResourceMethodId } from './cli-add-shared.js'; export { buildWorkspaceRestSchemaHelperPhpSource, } from './cli-add-workspace-rest-schema-helper-php-template.js'; /** * Build the PHP route/controller glue for generated workspace REST resources. * * @param restResourceSlug Normalized REST resource slug. * @param namespace WordPress REST namespace, such as `vendor/v1`. * @param phpPrefix Plugin PHP function prefix. * @param methods REST operations to expose. * @param options Optional generated route and controller customizations. * @returns A complete PHP source file for the generated REST resource. */ export declare function buildRestResourcePhpSource(restResourceSlug: string, namespace: string, phpPrefix: string, methods: RestResourceMethodId[], options: { controllerClass?: string; controllerExtends?: string; permissionCallback?: string; routePattern: string; }): string;