import { Register as RegisterServerJS, MustRegister as MustRegisterServerJS, RegisterAsync as RegisterServerJSAsync, MustRegisterAsync as MustRegisterServerJSAsync, type Config as ServerJSConfig } from "./src/plugins/jsvm/jsvm.js";
import { Static, StaticWildcardParam } from "./src/apis/base.js";
import { RequireAuth, RequireGuestOnly, RequireSameCollectionContextAuth, RequireSuperuserAuth, RequireSuperuserOrOwnerAuth, SkipSuccessActivityLog } from "./src/apis/middlewares.js";
import { New, NewWithConfig, PocketBase, newPocketBase, newPocketBaseWithConfig, Version, type PocketBaseConfig } from "./src/pocketbase.js";
import { BindApis, BindCore, BindDbx, BindFilesystem, BindFilepath, BindForms, BindHTTP, BindMails, BindOS, BindSecurity } from "./src/plugins/jsvm/binds.js";
import { Register as RegisterMigrateCmd, MustRegister as MustRegisterMigrateCmd } from "./src/plugins/migratecmd/migratecmd.js";
import { Create, CreateAsync, Extract, ExtractAsync } from "./src/tools/archive/index.js";
import { NewRegistry } from "./src/tools/template/registry.js";
export { buildServeHandler, serve, serveAsync, type ServeConfig } from "./src/apis/serve.js";
export { Static, StaticWildcardParam, serveStatic, staticWildcardParam };
export { requireAuth, requireGuestOnly, requireSameCollectionContextAuth, requireSuperuserAuth, requireSuperuserOrOwnerAuth };
export { skipSuccessActivityLog };
export { RequireGuestOnly, RequireAuth, RequireSuperuserAuth, RequireSuperuserOrOwnerAuth, RequireSameCollectionContextAuth };
export { SkipSuccessActivityLog };
export { superuser, superuserCreate, superuserDelete, superuserOTP, superuserUpdate, superuserUpsert } from "./src/cmd/superuser.js";
export { type SuperuserOtpResult } from "./src/cmd/superuser.js";
export { BaseApp, type BaseAppConfig } from "./src/core/base.js";
export { type App } from "./src/core/app.js";
export { type ServeEvent } from "./src/core/events.js";
export { migrate, migrateAsync, type MigrateMode } from "./src/core/migrate.js";
export { newPocketBase, newPocketBaseWithConfig, New, NewWithConfig, PocketBase, type PocketBaseConfig, Version, version, };
export { registerServerJS, mustRegisterServerJS, registerServerJSAsync, mustRegisterServerJSAsync, RegisterServerJS, MustRegisterServerJS, RegisterServerJSAsync, MustRegisterServerJSAsync, };
export type { ServerJSConfig };
declare const serveStatic: typeof Static;
declare const staticWildcardParam = "path";
declare const requireGuestOnly: typeof RequireGuestOnly;
declare const requireAuth: typeof RequireAuth;
declare const requireSuperuserAuth: typeof RequireSuperuserAuth;
declare const requireSuperuserOrOwnerAuth: typeof RequireSuperuserOrOwnerAuth;
declare const requireSameCollectionContextAuth: typeof RequireSameCollectionContextAuth;
declare const skipSuccessActivityLog: typeof SkipSuccessActivityLog;
declare const version: string;
declare const registerServerJS: typeof RegisterServerJS;
declare const mustRegisterServerJS: typeof MustRegisterServerJS;
declare const registerServerJSAsync: typeof RegisterServerJSAsync;
declare const mustRegisterServerJSAsync: typeof MustRegisterServerJSAsync;
/**
 * @deprecated Prefer registerServerJS. This alias exists because PocketBase's upstream
 * JavaScript extension package is named "jsvm".
 */
export declare const RegisterJSVM: typeof RegisterServerJS;
/**
 * @deprecated Prefer mustRegisterServerJS. This alias exists because PocketBase's upstream
 * JavaScript extension package is named "jsvm".
 */
export declare const MustRegisterJSVM: typeof MustRegisterServerJS;
/**
 * @deprecated Prefer registerServerJSAsync. This alias exists because PocketBase's upstream
 * JavaScript extension package is named "jsvm".
 */
export declare const RegisterJSVMAsync: typeof RegisterServerJSAsync;
/**
 * @deprecated Prefer mustRegisterServerJSAsync. This alias exists because PocketBase's upstream
 * JavaScript extension package is named "jsvm".
 */
export declare const MustRegisterJSVMAsync: typeof MustRegisterServerJSAsync;
/**
 * @deprecated Prefer ServerJSConfig. This alias exists because PocketBase's upstream JavaScript
 * extension package is named "jsvm".
 */
export type JSVMConfig = ServerJSConfig;
/**
 * @deprecated Prefer registerServerJS. This older PocketBun alias remains for compatibility
 * with released package versions.
 */
export declare const RegisterHooksPlugin: typeof RegisterServerJS;
/**
 * @deprecated Prefer mustRegisterServerJS. This older PocketBun alias remains for compatibility
 * with released package versions.
 */
export declare const MustRegisterHooksPlugin: typeof MustRegisterServerJS;
/**
 * @deprecated Prefer registerServerJSAsync. This older PocketBun alias remains for compatibility
 * with released package versions.
 */
export declare const RegisterHooksPluginAsync: typeof RegisterServerJSAsync;
/**
 * @deprecated Prefer mustRegisterServerJSAsync. This older PocketBun alias remains for compatibility
 * with released package versions.
 */
export declare const MustRegisterHooksPluginAsync: typeof MustRegisterServerJSAsync;
export { bindApis, bindCore, bindDbx, bindFilesystem, bindFilepath, bindForms, bindHTTP, bindMails, bindOS, bindSecurity, };
export { BindApis, BindCore, BindDbx, BindFilesystem, BindFilepath, BindForms, BindHTTP, BindMails, BindOS, BindSecurity };
declare const bindCore: typeof import("./src/plugins/jsvm/binds.js").baseBinds;
declare const bindDbx: typeof import("./src/plugins/jsvm/binds.js").dbxBinds;
declare const bindMails: typeof import("./src/plugins/jsvm/binds.js").mailsBinds;
declare const bindSecurity: typeof import("./src/plugins/jsvm/binds.js").securityBinds;
declare const bindFilesystem: typeof import("./src/plugins/jsvm/binds.js").filesystemBinds;
declare const bindFilepath: typeof import("./src/plugins/jsvm/binds.js").filepathBinds;
declare const bindOS: typeof import("./src/plugins/jsvm/binds.js").osBinds;
declare const bindForms: typeof import("./src/plugins/jsvm/binds.js").formsBinds;
declare const bindApis: typeof import("./src/plugins/jsvm/binds.js").apisBinds;
declare const bindHTTP: typeof import("./src/plugins/jsvm/binds.js").httpClientBinds;
declare const registerMigrateCmd: typeof RegisterMigrateCmd;
declare const mustRegisterMigrateCmd: typeof MustRegisterMigrateCmd;
declare const templateLangJS = "js";
declare const templateLangGo = "go";
export { registerMigrateCmd, mustRegisterMigrateCmd, templateLangJS, templateLangGo };
export { Register as RegisterMigrateCmd, MustRegister as MustRegisterMigrateCmd, TemplateLangGo, TemplateLangJS, type Config as MigrateCmdConfig, } from "./src/plugins/migratecmd/migratecmd.js";
declare const create: typeof Create;
declare const createAsync: typeof CreateAsync;
declare const extract: typeof Extract;
declare const extractAsync: typeof ExtractAsync;
export { create, createAsync, extract, extractAsync, Create, CreateAsync, Extract, ExtractAsync };
export { DbxDatabase, attachDbxRewrite, rewriteDbxIdentifiers } from "./src/tools/dbx/index.js";
declare const newRegistry: typeof NewRegistry;
export { newRegistry, NewRegistry };
