import type { Run } from '../../run';
import type { Redirect, Redirects } from './types';
export declare const REDIRECTS_FILENAME = "redirects.yaml";
export declare class RedirectsService {
    get files(): Redirect[];
    get rawRedirects(): Redirects;
    private run;
    private config;
    private redirects;
    constructor(run: Run);
    init(): Promise<void>;
    release(): Promise<void>;
    page(from: RelativePath, to: RelativePath): Promise<string>;
    private validate;
}
