import { TimeFrames } from './timeFrames';
type PreviousPeriod = {
    type: 'previousPeriod';
    granularity: TimeFrames;
    periodOffset?: number;
};
export type PeriodOverPeriodComparison = PreviousPeriod & {
    field: {
        name: string;
        table: string;
    };
};
export declare const validPeriodOverPeriodGranularities: TimeFrames[];
export declare const periodOverPeriodGranularityLabels: Record<TimeFrames, string>;
export declare const isSupportedPeriodOverPeriodGranularity: (granularity: TimeFrames) => boolean;
/**
 * Suffix used for period-over-period comparison columns.
 * This is the single source of truth for the PoP column naming convention.
 */
export declare const POP_PREVIOUS_PERIOD_SUFFIX = "_previous";
/**
 * Gets the PoP field ID for a base metric field ID.
 * @param baseFieldId - The field ID of the base metric (e.g., "orders_total_revenue")
 * @returns The PoP field ID (e.g., "orders_total_revenue_previous")
 */
export declare const getPopFieldId: (baseFieldId: string) => string;
/**
 * Gets the base field ID from a PoP field ID.
 * @param fieldId - The field ID to check
 * @returns The base field ID if this is a PoP field, null otherwise
 */
export declare const getBaseFieldIdFromPop: (fieldId: string) => string | null;
export {};
//# sourceMappingURL=periodOverPeriodComparison.d.ts.map