interface PersistenceTemplateVariablesLike { namespace: string; pascalCase: string; restWriteAuthIntent: 'authenticated' | 'public-write-protected'; restWriteAuthMechanism: 'public-signed-token' | 'rest-nonce'; slugKebabCase: string; title: string; } /** Inputs used to plan and sync one persistence scaffold's REST artifacts. */ export interface SyncPersistenceRestArtifactsOptions { apiTypesFile: string; outputDir: string; projectDir: string; variables: PersistenceTemplateVariablesLike; } /** * Build the canonical persistence REST endpoint manifest for scaffold-time * schema, OpenAPI, and client generation. * * @param variables Persistence template naming and auth metadata. * @returns Endpoint manifest covering bootstrap, state read, and state write operations. */ export declare function buildPersistenceEndpointManifest(variables: PersistenceTemplateVariablesLike): import("@wp-typia/block-runtime/metadata-core").EndpointManifestDefinition<{ readonly 'state-query': { readonly sourceTypeName: `${string}StateQuery`; }; readonly 'bootstrap-query': { readonly sourceTypeName: `${string}BootstrapQuery`; }; readonly 'write-state-request': { readonly sourceTypeName: `${string}WriteStateRequest`; }; readonly 'bootstrap-response': { readonly sourceTypeName: `${string}BootstrapResponse`; }; readonly 'state-response': { readonly sourceTypeName: `${string}StateResponse`; }; }, readonly [{ readonly auth: "public"; readonly method: "GET"; readonly operationId: `get${string}State`; readonly path: `/${string}/v1/${string}/state`; readonly queryContract: "state-query"; readonly responseContract: "state-response"; readonly summary: "Read the current persisted state."; readonly tags: readonly [string]; }, { readonly auth: "authenticated" | "public-write-protected"; readonly bodyContract: "write-state-request"; readonly method: "POST"; readonly operationId: `write${string}State`; readonly path: `/${string}/v1/${string}/state`; readonly responseContract: "state-response"; readonly summary: "Write the current persisted state."; readonly tags: readonly [string]; readonly wordpressAuth: { mechanism: "public-signed-token" | "rest-nonce"; }; }, { readonly auth: "public"; readonly method: "GET"; readonly operationId: `get${string}Bootstrap`; readonly path: `/${string}/v1/${string}/bootstrap`; readonly queryContract: "bootstrap-query"; readonly responseContract: "bootstrap-response"; readonly summary: "Read fresh session bootstrap state for the current viewer."; readonly tags: readonly [string]; }]>; /** Output paths and metadata for one persistence REST contract schema. */ export interface PersistenceRestArtifactSchemaPlan { jsonSchemaFile: string; openApiFile: string; openApiInfo: { title: string; version: string; }; sourceTypeName: string; } /** Complete compiler-derived output plan for one persistence REST surface. */ export interface PersistenceRestArtifactPlan { clientFile: string; manifest: ReturnType; openApiFile: string; schemas: PersistenceRestArtifactSchemaPlan[]; } /** * Build the canonical output plan shared by scaffold generation and previews. * * @param options Scaffold output paths plus persistence template variables. * @returns REST schema, aggregate OpenAPI, and client output paths. */ export declare function buildPersistenceRestArtifactPlan(options: SyncPersistenceRestArtifactsOptions): PersistenceRestArtifactPlan; /** * Generate the REST-derived persistence artifacts for a scaffolded block. * * @param options Scaffold output paths plus persistence template variables. * @returns A promise that resolves after schema, OpenAPI, and client files are written. */ export declare function syncPersistenceRestArtifacts({ apiTypesFile, outputDir, projectDir, variables }: SyncPersistenceRestArtifactsOptions): Promise; export {};