/** * Allows resolving paths relatively to the integration folder easily. Call it like this: * * @param {string} _base - The location you want to create relative references from. `import.meta.url` is usually what you'll want. * * @see https://astro-integration-kit.netlify.app/core/create-resolver/ * * @example * ```ts * const { resolve } = createResolver(import.meta.url); * const pluginPath = resolve("./plugin.ts"); * ``` * * This way, you do not have to add your plugin to your package.json `exports`. */ declare const createResolver: (_base: string) => { resolve: (...path: Array) => string; }; export { createResolver };