import type * as Generator from '@postxl/generator';
import type { Component } from './types/component';
import type { ContextProvider } from './types/contextprovider';
import type { Hook } from './types/hook';
export type WithFrontend<Context extends Generator.Context = Generator.Context> = Generator.ExtendContext<Context, {
    frontend: FrontendContextEntry;
}>;
export type FrontendContextEntry = {
    components: Component[];
    hooks: Hook[];
    contextProviders: ContextProvider[];
    packageJson: Generator.PackageJsonConfig;
    tsConfigReferences: Map<Generator.BackendModuleName, TsConfigReference>;
};
export type TsConfigReference = {
    /**
     * The name of the module that should be referenced.
     */
    name: Generator.BackendModuleName;
    /**
     * The file path of the module that should be referenced.
     */
    filePath: Generator.FilePath;
    /**
     * If true, default reference to index file will be added in addition to wildcard reference.
     */
    hasIndex: boolean;
    /**
     * If true, the path will not be resolved. Defaults to false.
     */
    isAbsolute?: boolean;
};
export type { Component } from './types/component';
export type { Hook } from './types/hook';
export type { ContextProvider } from './types/contextprovider';
