import type { Schema } from '../../schema.js';
/**
 * Configuration for loading schema from a single SDL file.
 */
export interface ConfigInput {
    /**
     * Path to the GraphQL SDL file.
     *
     * Can be absolute or relative to the project root.
     *
     * @default './schema.graphql'
     *
     * @example
     * ```ts
     * // Default location
     * path: './schema.graphql'
     *
     * // Custom location
     * path: './src/graphql/schema.sdl'
     * ```
     */
    path?: string;
    projectRoot?: string;
}
export interface Config {
    path: string;
}
export declare const normalizeConfig: (configInput: ConfigInput) => Config;
export declare const readOrThrow: (configInput: ConfigInput) => Promise<null | Schema>;
//# sourceMappingURL=schema-file.d.ts.map