import { type OfficialPluginImageMode } from './OfficialPlugins';
type ImportResult = {
    ok: true;
    loadedPath: string;
} | {
    ok: false;
    loadedPath?: string;
    reason: 'not-found' | 'import-failed';
    errorMessage?: string;
};
export declare const PluginAutoImports: Readonly<{
    tryImportRuntimeAutoImports(mode?: OfficialPluginImageMode): Promise<ImportResult>;
    /**
     * Best-effort import of a project's `src/zintrust.plugins.ts` file.
     *
     * This file is generated/maintained by `zin plugin install` and contains
     * side-effect imports (e.g. `@zintrust/db-mysql/register`) which register
     * adapters/drivers into core registries.
     */
    tryImportProjectAutoImports(): Promise<ImportResult>;
    tryImportFromFileContents(files: string[]): Promise<ImportResult>;
}>;
export {};
//# sourceMappingURL=PluginAutoImports.d.ts.map