import { DiagnosticConfig } from './StylisticConfig'; export declare const DefaultNamingConventions: readonly ["camelCase", "PascalCase", "snake_case", "SCREAMING_SNAKE_CASE", "kebab-case", "lowercase", "UPPERCASE"]; export declare type DefaultNamingConvention = typeof DefaultNamingConventions[number]; export declare type NamingConventionConfig = string | ParentCustomNamingConvention | (string | ParentCustomNamingConvention)[]; export interface ParentCustomNamingConvention extends CustomNamingConvention { label: string; } interface CustomNamingConvention { prefix?: string; suffix?: string; allowLessParts?: boolean; allowMoreParts?: boolean; parts?: string | CustomNamingConvention | string[] | CustomNamingConvention[]; sep?: string; } /** * Check whether the identity follows the naming convention or not. * @param identity An identity. * @param config A naming convention config. */ export declare function checkNamingConvention(identity: string, config: DiagnosticConfig): boolean; export declare function getConventionNames(convention: NamingConventionConfig): string[]; export {};