import type { RuntimeDiscoveryAdapter, RuntimeDiscoveryContext, RuntimeWorkload } from '../model';
export interface SystemdUnitRecord {
    unit: string;
    load?: string;
    active?: string;
    sub?: string;
    description?: string;
    enabled?: string;
    pid?: number;
    memoryBytes?: number;
    restartCount?: number;
    activeSince?: string;
    fragmentPath?: string;
    workingDirectory?: string;
    user?: string;
    environment?: Record<string, string>;
}
export declare function parseSystemdRecords(output: string): SystemdUnitRecord[];
export declare function systemdWorkloads(records: SystemdUnitRecord[], context: RuntimeDiscoveryContext, sourceId?: string): RuntimeWorkload[];
export declare class SystemdDiscoveryAdapter implements RuntimeDiscoveryAdapter {
    private readonly read;
    readonly id: string;
    readonly provider: 'systemd';
    constructor(read: (context: RuntimeDiscoveryContext) => Promise<string>, id?: string);
    discover(context: RuntimeDiscoveryContext): Promise<RuntimeWorkload[]>;
}
