@stylable/core
Version:
CSS for Components
18 lines • 877 B
TypeScript
import type { processNamespace } from './stylable-processor';
/** @deprecated use createNamespaceStrategy */
export declare function packageNamespaceFactory(findConfig: (fileName: string, options: {
cwd: string;
}) => string | null, loadConfig: (filePath: string) => object, { dirname, relative, }: {
dirname(path: string): string;
relative(from: string, to: string): string;
}, hashSalt?: string, prefix?: string, normalizeVersion?: (semver: string) => string): typeof processNamespace;
/** @deprecated use createNamespaceStrategy */
export declare function noCollisionNamespace({ prefix, used: usedNamespaces, }?: {
prefix?: string | undefined;
used?: Map<string, {
prefix: string;
namespace: string;
stylesheetPath: string;
}> | undefined;
}): typeof processNamespace;
//# sourceMappingURL=resolve-namespace-factories.d.ts.map