import '@shopify/webpack-section-focus-loader'; import '@shopify/webpack-no-typescript-ts-loader'; import '@shopify/webpack-no-react-jsx-loader'; import { RuleSetRule } from 'webpack'; import { Workspace } from '../../../workspace'; import { BuildWorkspace } from './build-workspace'; export declare function translationsJson(workspace: BuildWorkspace): RuleSetRule[]; export declare function styles(workspace: BuildWorkspace, { sourceMap, }: { sourceMap: boolean; }): RuleSetRule[]; export declare function images(workspace: BuildWorkspace): any[]; export declare function files({ env }: Workspace): { test: RegExp; type: string; generator: { emit: boolean; filename: string; }; }; export declare function fonts(): { test: RegExp; loader: string; options: { esModule: boolean; limit: number; mimetype: string; name: string; }; }; export declare type BabelPreset = string | [string, any]; export declare function javascript(workspace: BuildWorkspace): any[]; export declare function typescriptLoader(workspace: BuildWorkspace, { hot, sourceMaps, transformRuntime, }: { hot?: boolean; sourceMaps?: boolean; transformRuntime?: boolean; }): { test: RegExp; exclude: RegExp; use: { loader: string; options: { cacheDirectory: string; cacheIdentifier: string; cacheCompression: boolean; sourceMaps: boolean; babelrc: boolean; targets: any; envName: import("../../../env").Mode; presets: BabelPreset[]; plugins: (string | [string, { [key: string]: unknown; }])[]; }; }[]; } | null; export declare function graphql(workspace: BuildWorkspace): { test: RegExp; use: { loader: string; options: { simple: boolean | undefined; }; }[]; } | null; export declare function focus({ paths }: Workspace, { sections }: { sections: string[]; }): { test(file: string): boolean; use: { loader: string; options: { focus: string[]; }; }[]; }; export declare function withoutTypescript(): { test: RegExp; use: { loader: string; }[]; }; export declare function withoutReact({ paths }: Workspace): { test: RegExp; use: { loader: string; options: { root: string; }; }[]; }; //# sourceMappingURL=rules.d.ts.map